We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4786926 + eac5159 commit 72bd107Copy full SHA for 72bd107
1 file changed
include/nbl/video/ILogicalDevice.h
@@ -1332,7 +1332,7 @@ inline bool ILogicalDevice::validateMemoryBarrier(const uint32_t queueFamilyInde
1332
NBL_LOG_ERROR("Invalid aspect mask");
1333
return false;
1334
}
1335
- if (bool(aspectMask.value & DepthStencilAspects))
+ if (!bool(aspectMask.value & DepthStencilAspects))
1336
{
1337
1338
0 commit comments