Ignore useless validation message about aliasing

This commit is contained in:
baldurk committed 2018-10-25 13:16:58 +01:00
1 parent 122f0af3aa
commit e5784eb70b
1 file changed
+5
+5
View File
@@ -3134,6 +3134,11 @@ VkBool32 WrappedVulkan::DebugCallback(VkDebugReportFlagsEXT flags,
if(isMEM && messageCode == 15)
return false;
// Non-linear image is aliased with linear buffer
// Not an error, the validation layers complain at our whole-mem bufs
if(strstr(pMessage, "InvalidAliasing"))
return false;
RDCWARN("[%s:%u/%d] %s", pLayerPrefix, (uint32_t)location, messageCode, pMessage);
}