Move clear handling to FramebufferVulkan, center the clear properly in non-buffered. more cleanup.

This commit is contained in:
Henrik Rydgard 2016-03-30 23:26:16 +02:00
parent c2b66a0882
commit 32f5930e15
5 changed files with 80 additions and 62 deletions

View file

@ -128,6 +128,9 @@ static VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugRep
// https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/121
if (msgCode == 6 && (!memcmp(pMsg, "Cannot map", 10) || !memcmp(pMsg, "Cannot sub", 10)))
return false;
// And for dynamic offsets.
if (msgCode == 62 && (!memcmp(pMsg, "VkDesc", 6)))
return false;
#ifdef _WIN32
OutputDebugStringA(message.str().c_str());