diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-13 23:07:27 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-13 23:08:59 -0400 |
commit | db1c4b125fbabdbcd27a2c9ec543c97e982cc5e5 (patch) | |
tree | 11147919a97ca0c0c9b9a81943f90e2023944053 /src | |
parent | d86a9b9a4b693b720c63c08da3220869de49ecc9 (diff) |
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
This validation error is spammed on some titles, asserting that VkDescriptorSet 0x0[] was destroyed.
This is likely a validation layer bug when using VK_KHR_push_descriptor, which can avoid using traditional VkDescriptorSet. It should be safe to ignore for now.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_debug_callback.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_debug_callback.cpp b/src/video_core/vulkan_common/vulkan_debug_callback.cpp index 0f60765bb2..cf94e1d392 100644 --- a/src/video_core/vulkan_common/vulkan_debug_callback.cpp +++ b/src/video_core/vulkan_common/vulkan_debug_callback.cpp @@ -16,6 +16,7 @@ VkBool32 Callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity, switch (static_cast<u32>(data->messageIdNumber)) { case 0x682a878au: // VUID-vkCmdBindVertexBuffers2EXT-pBuffers-parameter case 0x99fb7dfdu: // UNASSIGNED-RequiredParameter (vkCmdBindVertexBuffers2EXT pBuffers[0]) + case 0xe8616bf2u: // Bound VkDescriptorSet 0x0[] was destroyed. Likely push_descriptor related return VK_FALSE; default: break; |