VK: Workaround for validation bug (will be fixed in the next Vulkan SDK)

This commit is contained in:
Henrik Rydgård committed 2018-11-21 22:29:21 +01:00
1 parent 8d8c7f5d08
commit dc49e839dd
1 file changed
+2
+2
View File
@@ -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());