diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-05 23:20:27 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-05 23:20:27 +0000 |
| commit | e7365610fb2c0eb1e069f51fe10ce8f0e30b992f (patch) | |
| tree | 579cc218dca94f3a5929dccac20890da17df7cb0 /Graphics/GraphicsEngineVulkan | |
| parent | Implemented texture and buffer object creation from Vulkan resources (diff) | |
| download | DiligentCore-e7365610fb2c0eb1e069f51fe10ce8f0e30b992f.tar.gz DiligentCore-e7365610fb2c0eb1e069f51fe10ce8f0e30b992f.zip | |
Enabled back some Vulkan performance warnings
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/VulkanUtilities/VulkanDebug.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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"; |
