radv: bump maxFragmentShadingRateCoverageSamples to 32
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Aug 2021 15:00:26 +0000 (17:00 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Aug 2021 07:24:22 +0000 (07:24 +0000)
Minimum required value is 16 but we support up to 32
(2x2 VRS with MSAA 8x).

Fixes dEQP-VK.fragment_shading_rate.misc.limits.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12245>

src/amd/vulkan/radv_device.c

index fd9f440..0af0bab 100644 (file)
@@ -2343,7 +2343,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
          props->fragmentShadingRateNonTrivialCombinerOps = true;
          props->maxFragmentSize = (VkExtent2D){2, 2};
          props->maxFragmentSizeAspectRatio = 2;
-         props->maxFragmentShadingRateCoverageSamples = 2 * 2;
+         props->maxFragmentShadingRateCoverageSamples = 32;
          props->maxFragmentShadingRateRasterizationSamples = VK_SAMPLE_COUNT_8_BIT;
          props->fragmentShadingRateWithShaderDepthStencilWrites = false;
          props->fragmentShadingRateWithSampleMask = true;