Accept per-sample shading in multiple interpolation tests
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 8 Jul 2021 14:06:22 +0000 (16:06 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 8 Jul 2021 20:33:43 +0000 (20:33 +0000)
commitf253a5cc76f6f2679ac443e255bf5a5202e1e0ba
treee9b674a2dc4281ad1c0909a8697c7c0127e0b3d8
parentddbe7608ba068337f56a8030146f1bc65f87809d
Accept per-sample shading in multiple interpolation tests

When using the sample decoration in one of the fragment shader input
variables, some implementations may switch to per-sample shading mode,
producing results which are different from the per-fragment shading
results but which are allowed by the spec.

This commit enables sample shading with rate 1.0 as an alternative valid
result for multiple interpolation tests in implementations supporting
the sampleRateShading feature.

Affected tests:
dEQP-VK.draw.multiple_interpolation.*

Components: Vulkan
VK-GL-CTS issue: 2993

Change-Id: Id5d33df38b8c7179a0686b615578871aea8d8f22
external/vulkancts/modules/vulkan/draw/vktDrawMultipleInterpolationTests.cpp