From: Ricardo Garcia Date: Fri, 9 Dec 2022 11:57:38 +0000 (+0100) Subject: Require sampleRateShading in multisample linear interpolation tests X-Git-Tag: upstream/1.3.5~2^2~4^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0952eeea8660d7d9a88ec552300b7eac7bbab444;p=platform%2Fupstream%2FVK-GL-CTS.git 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 --- 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