summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-05 23:20:27 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-05 23:20:27 +0000
commite7365610fb2c0eb1e069f51fe10ce8f0e30b992f (patch)
tree579cc218dca94f3a5929dccac20890da17df7cb0 /Graphics/GraphicsEngineVulkan
parentImplemented texture and buffer object creation from Vulkan resources (diff)
downloadDiligentCore-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.cpp5
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";