From 0952eeea8660d7d9a88ec552300b7eac7bbab444 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Fri, 9 Dec 2022 12:57:38 +0100 Subject: [PATCH] Require sampleRateShading in multisample linear interpolation tests While these tests normally set sampleShadingEnable to VK_FALSE, their shaders enable the SampleRateShading capability, which means sampleRateShading is required to run them. Affects: dEQP-VK.draw.*.linear_interpolation.* VK-GL-CTS issue: 4167 Components: Vulkan Change-Id: I52f9f81b13186d2b152f46ecadbc73455ffbf063 --- .../modules/vulkan/draw/vktDrawMultisampleLinearInterpolationTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/vulkancts/modules/vulkan/draw/vktDrawMultisampleLinearInterpolationTests.cpp b/external/vulkancts/modules/vulkan/draw/vktDrawMultisampleLinearInterpolationTests.cpp index ab47185..63d1b2f 100644 --- a/external/vulkancts/modules/vulkan/draw/vktDrawMultisampleLinearInterpolationTests.cpp +++ b/external/vulkancts/modules/vulkan/draw/vktDrawMultisampleLinearInterpolationTests.cpp @@ -552,6 +552,8 @@ void MultisampleLinearInterpolationTestCase::initPrograms (SourceCollections& pr void MultisampleLinearInterpolationTestCase::checkSupport (Context& context) const { + context.requireDeviceCoreFeature(DEVICE_CORE_FEATURE_SAMPLE_RATE_SHADING); + if (!(m_sampleCountFlagBits & context.getDeviceProperties().limits.framebufferColorSampleCounts)) TCU_THROW(NotSupportedError, "Multisampling with " + de::toString(m_sampleCountFlagBits) + " samples not supported"); #ifndef CTS_USES_VULKANSC -- 2.7.4