commit | 199accab29a38a81ed55f1ab747efadc4985647c | [log] [tgz] |
---|---|---|
author | ziga-lunarg <ziga@lunarg.com> | Sat Jul 15 21:11:29 2023 +0200 |
committer | Lorenzo Dal Col <lorenzo@khronosgroup.org> | Thu Aug 03 15:39:54 2023 +0000 |
tree | 9aa5458016e0d73502b9fa723a5bd141757e22f0 | |
parent | de0bdf39edd43c9fbdab4635fd4d5b2cac89d761 [diff] |
Skip formats not supported by mapVkFormat in mismatchedFormatsTests Skip formats which will throw InternalError in the mapVkFormat function VK-GL-CTS issue: 4557 Components: Vulkan Affected tests: None Change-Id: I1b847340af7b06867a13a649208d7b931266f7be
diff --git a/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.cpp b/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.cpp index ae248f8..6627db0 100644 --- a/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.cpp +++ b/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.cpp
@@ -459,6 +459,9 @@ for (VkFormat format = VK_FORMAT_R4G4_UNORM_PACK8; format < VK_CORE_FORMAT_LAST; format = static_cast<VkFormat>(format+1)) { + if (isCompressedFormat(format)) + continue; + for (auto& pair : SpirvFormats) { const std::string& spirvFormat = pair.first;