Fix expected validation for image compression control tests.

Disabled bit is not required when quering supported modes.

Affects:
dEQP-VK.api.image_compression_control.*

Components: Vulkan
VK-GL-CTS issue: 3799

Change-Id: I33d118614083fc58ea453565f9f25d10875cdf8d
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/vulkan-cts/+/897163
Reviewed-by: Craig Stout <cstout@google.com>
diff --git a/external/vulkancts/modules/vulkan/api/vktApiImageCompressionControlTests.cpp b/external/vulkancts/modules/vulkan/api/vktApiImageCompressionControlTests.cpp
index a83e4b7..78c629c 100644
--- a/external/vulkancts/modules/vulkan/api/vktApiImageCompressionControlTests.cpp
+++ b/external/vulkancts/modules/vulkan/api/vktApiImageCompressionControlTests.cpp
@@ -142,7 +142,8 @@
 							 "in image format properties.");
 			}
 			if ((compressionPropertiesSupported.imageCompressionFlags & compressionProperties.imageCompressionFlags) !=
-				compressionProperties.imageCompressionFlags)
+					compressionProperties.imageCompressionFlags &&
+				compressionProperties.imageCompressionFlags != VK_IMAGE_COMPRESSION_DISABLED_EXT)
 			{
 				results.fail("Got image with compression flags that are not supported "
 							 "in image format properties.");