From b560038b3d2a17cfa6826e01ef23ef6238c7ab4f Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 30 Jun 2016 16:11:25 +0200 Subject: [PATCH] Work around a new false positive from the latest Vulkan validation layers --- Windows/GPU/WindowsVulkanContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Windows/GPU/WindowsVulkanContext.cpp b/Windows/GPU/WindowsVulkanContext.cpp index 109bb8dabf..ff4cef5f9b 100644 --- a/Windows/GPU/WindowsVulkanContext.cpp +++ b/Windows/GPU/WindowsVulkanContext.cpp @@ -128,6 +128,8 @@ static VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugRep // layout barrier. TODO: This one I should fix. if (msgCode == 7 && startsWith(pMsg, "Cannot submit cmd buffer")) return false; + if (msgCode == 43 && startsWith(pMsg, "At Draw time the active render")) + return false; #ifdef _WIN32 OutputDebugStringA(message.str().c_str());