From e7365610fb2c0eb1e069f51fe10ce8f0e30b992f Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 5 Jul 2018 16:20:27 -0700 Subject: Enabled back some Vulkan performance warnings --- Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp b/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp index 8090a410..0aa12c89 100644 --- a/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp +++ b/Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp @@ -31,10 +31,9 @@ namespace VulkanUtilities { std::stringstream debugMessage; - // Ignore the following warnings: - // 26: Vertex buffers are bound to command buffer (0x...) but no vertex buffers are attached to this Pipeline State Object + // Ignore the following warning: // 64: vkCmdClearAttachments() issued on command buffer object 0x... prior to any Draw Cmds. It is recommended you use RenderPass LOAD_OP_CLEAR on Attachments prior to any Draw. - if ( (flags & VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT) && (msgCode == 64 || msgCode == 26) ) + if ( (flags & VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT) && msgCode == 64 ) return VK_FALSE; debugMessage << "Vulkan debug message"; -- cgit v1.2.3