radv: adjust the maximum number of coverage samples for VRS

It should actually be 4 because the maximum fragment size supported
by the hardware is 2x2.

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/8100>
This commit is contained in:
Samuel Pitoiset 2020-12-14 17:30:11 +01:00
parent 2c9bc0d20e
commit c9e1264ec7

View file

@ -2147,7 +2147,7 @@ void radv_GetPhysicalDeviceProperties2(
props->fragmentShadingRateNonTrivialCombinerOps = true;
props->maxFragmentSize = (VkExtent2D) { 2, 2 };
props->maxFragmentSizeAspectRatio = 1;
props->maxFragmentShadingRateCoverageSamples = 1;
props->maxFragmentShadingRateCoverageSamples = 2 * 2;
props->maxFragmentShadingRateRasterizationSamples =
VK_SAMPLE_COUNT_1_BIT |
VK_SAMPLE_COUNT_2_BIT |