mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 10:37:02 +00:00
Migrate force_log_printf to new logging (#714)
This commit is contained in:
parent
072c18a6e3
commit
4be57f4896
108 changed files with 401 additions and 399 deletions
|
|
@ -112,7 +112,7 @@ uint32 LatteQueryObjectVk::acquireQueryIndex()
|
|||
{
|
||||
if (m_rendererVk->m_occlusionQueries.list_availableQueryIndices.empty())
|
||||
{
|
||||
forceLog_printf("Vulkan-Error: Exhausted query pool");
|
||||
cemuLog_log(LogType::Force, "Vulkan-Error: Exhausted query pool");
|
||||
assert_dbg();
|
||||
}
|
||||
uint32 queryIndex = m_rendererVk->m_occlusionQueries.list_availableQueryIndices.back();
|
||||
|
|
@ -152,7 +152,7 @@ LatteQueryObject* VulkanRenderer::occlusionQuery_create()
|
|||
auto r = vkCreateQueryPool(m_logicalDevice, &queryPoolCreateInfo, nullptr, &m_occlusionQueries.queryPool);
|
||||
if (r != VK_SUCCESS)
|
||||
{
|
||||
forceLog_printf("Vulkan-Error: Failed to create query pool with error %d", (sint32)r);
|
||||
cemuLog_log(LogType::Force, "Vulkan-Error: Failed to create query pool with error {}", (sint32)r);
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
|
@ -209,4 +209,4 @@ void VulkanRenderer::occlusionQuery_notifyBeginCommandBuffer()
|
|||
for (auto& it : m_occlusionQueries.list_currentlyActiveQueries)
|
||||
if (it->m_hasActiveQuery)
|
||||
it->beginFragment();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue