mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Vulkan: Migrate logging over to fmt
Migrates the vulkan backend over to the fmt-capable logger.
This commit is contained in:
parent
23a8baa605
commit
21dd7a8ebb
11 changed files with 81 additions and 79 deletions
|
@ -351,12 +351,12 @@ bool StateTracker::Bind()
|
|||
if (!UpdateDescriptorSet())
|
||||
{
|
||||
// We can fail to allocate descriptors if we exhaust the pool for this command buffer.
|
||||
WARN_LOG(VIDEO, "Failed to get a descriptor set, executing buffer");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to get a descriptor set, executing buffer");
|
||||
Renderer::GetInstance()->ExecuteCommandBuffer(false, false);
|
||||
if (!UpdateDescriptorSet())
|
||||
{
|
||||
// Something strange going on.
|
||||
ERROR_LOG(VIDEO, "Failed to get descriptor set, skipping draw");
|
||||
ERROR_LOG_FMT(VIDEO, "Failed to get descriptor set, skipping draw");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -405,12 +405,12 @@ bool StateTracker::BindCompute()
|
|||
|
||||
if (!UpdateComputeDescriptorSet())
|
||||
{
|
||||
WARN_LOG(VIDEO, "Failed to get a compute descriptor set, executing buffer");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to get a compute descriptor set, executing buffer");
|
||||
Renderer::GetInstance()->ExecuteCommandBuffer(false, false);
|
||||
if (!UpdateComputeDescriptorSet())
|
||||
{
|
||||
// Something strange going on.
|
||||
ERROR_LOG(VIDEO, "Failed to get descriptor set, skipping dispatch");
|
||||
ERROR_LOG_FMT(VIDEO, "Failed to get descriptor set, skipping dispatch");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue