Fixes for issues found by Vulkan validation layers, including a common non-harmful perf warning (doesn't fix all cases, but does fix the most common one).

This commit is contained in:
Henrik Rydgard authored and Henrik Rydgård committed 2019-01-25 20:18:56 +01:00
1 parent add5e3c1fa
commit c38c5469c4
3 files changed
+9 -6

No files matched your search

-2
View File
@@ -79,8 +79,6 @@ 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());