From dc49e839dd4a2972413a40c596ca9bace1250fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 21 Nov 2018 22:29:21 +0100 Subject: [PATCH] VK: Workaround for validation bug (will be fixed in the next Vulkan SDK) --- Common/Vulkan/VulkanDebug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common/Vulkan/VulkanDebug.cpp b/Common/Vulkan/VulkanDebug.cpp index 0ee407b735..e0d945df38 100644 --- a/Common/Vulkan/VulkanDebug.cpp +++ b/Common/Vulkan/VulkanDebug.cpp @@ -79,6 +79,8 @@ VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugReportObje return false; if (msgCode == 5) return false; // Not exactly a false positive, see https://github.com/KhronosGroup/glslang/issues/1418 + if (msgCode == 0 && strstr(pMsg, "vertexPipelineStoresAndAtomics")) // https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/73 + return false; #ifdef _WIN32 std::string msg = message.str(); OutputDebugStringA(msg.c_str());