Skip over video.decode tests for 32-bit CTS
authorPiers Daniell <pdaniell@nvidia.com>
Thu, 26 Jan 2023 22:00:03 +0000 (15:00 -0700)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 2 Feb 2023 16:50:12 +0000 (16:50 +0000)
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

index 6819089..147dd56 100644 (file)
@@ -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");