Move clear handling to FramebufferVulkan, center the clear properly in non-buffered. more cleanup.
This commit is contained in:
parent
c2b66a0882
commit
32f5930e15
5 changed files with 80 additions and 62 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue