tests:Compare VkBool32 against VK_FALSE
authorTobin Ehlis <tobine@google.com>
Wed, 9 May 2018 22:39:09 +0000 (16:39 -0600)
committerTobin Ehlis <tobine@google.com>
Fri, 11 May 2018 13:20:28 +0000 (07:20 -0600)
tests/layer_validation_tests.cpp

index b3d2911..04292ab 100644 (file)
@@ -23321,7 +23321,7 @@ TEST_F(VkLayerTest, DescriptorIndexingUpdateAfterBind) {
 
     indexingFeatures.descriptorBindingUniformBufferUpdateAfterBind = VK_FALSE;
 
-    if (!indexingFeatures.descriptorBindingStorageBufferUpdateAfterBind) {
+    if (VK_FALSE == indexingFeatures.descriptorBindingStorageBufferUpdateAfterBind) {
         printf("             Test requires (unsupported) descriptorBindingStorageBufferUpdateAfterBind, skipping\n");
         return;
     }