Ignore all validation layer messages about barrier access masks

This commit is contained in:
baldurk
2016-02-07 18:52:21 +01:00
parent a1d2a75e3b
commit 89dba11640
+3 -3
View File
@@ -1952,9 +1952,9 @@ VkBool32 WrappedVulkan::DebugCallback(
bool isDS = !strcmp(pLayerPrefix, "DS");
// Additional bits in accessMask
// ignore as we are just conservative in our access masks
if(isDS && location == 5709)
// All access mask/barrier messages.
// These are just too spammy/false positive/unreliable to keep
if(isDS && messageCode == 11)
return false;
// Recommended to use LOAD_OP_CLEAR