commit | f7881f8c720736c2df2bb4a07a047367872bfaef | [log] [tgz] |
---|---|---|
author | Vidar Lilleboe <vidar.lillebo@arm.com> | Tue Jul 05 14:30:36 2022 +0200 |
committer | John Bauman <jbauman@google.com> | Thu Aug 10 17:09:33 2023 +0000 |
tree | c72594e3138aad1a309da127f4b6606d56cd7617 | |
parent | b3e7348d5648529b930ebd8b315ea2d1786d13f0 [diff] |
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.");