From 8c217e3c35b1dc8c8546dff164fa728efbfcc559 Mon Sep 17 00:00:00 2001 From: Piers Daniell Date: Thu, 26 Jan 2023 15:00:03 -0700 Subject: [PATCH] Skip over video.decode tests for 32-bit CTS These tests use 64-bit library binaries to do the video parsing, so they cannot be used on 32-bit builds of CTS. These tests are reported a not supported for 32-bit CTS. Affects: dEQP-VK.video.decode.* Components: Vulkan VK-GL-CTS issue: 4253 Change-Id: I76772c594c783bb7d6d44ddeb5df71cd86be5f5f --- external/vulkancts/modules/vulkan/video/vktVideoDecodeTests.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/external/vulkancts/modules/vulkan/video/vktVideoDecodeTests.cpp b/external/vulkancts/modules/vulkan/video/vktVideoDecodeTests.cpp index 6819089..147dd56 100644 --- a/external/vulkancts/modules/vulkan/video/vktVideoDecodeTests.cpp +++ b/external/vulkancts/modules/vulkan/video/vktVideoDecodeTests.cpp @@ -1102,6 +1102,13 @@ VideoDecodeTestCase::~VideoDecodeTestCase (void) void VideoDecodeTestCase::checkSupport (Context& context) const { +#if (DE_PTR_SIZE != 8) + // Issue #4253: https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/4253 + // These tests rely on external libraries to do the video parsing, + // and those libraries are only available as 64-bit at this time. + TCU_THROW(NotSupportedError, "CTS is not built 64-bit so cannot use the 64-bit video parser library"); +#endif + context.requireDeviceFunctionality("VK_KHR_video_queue"); context.requireDeviceFunctionality("VK_KHR_synchronization2"); -- 2.7.4