radv: fix maxFragmentShadingRateRasterizationSamples

It's not a bitfield. This limit is purely informational.

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-15 10:34:59 +01:00
parent c9e1264ec7
commit 30852b5b49
+1 -5
View File
@@ -2148,11 +2148,7 @@ void radv_GetPhysicalDeviceProperties2(
props->maxFragmentSize = (VkExtent2D) { 2, 2 };
props->maxFragmentSizeAspectRatio = 1;
props->maxFragmentShadingRateCoverageSamples = 2 * 2;
props->maxFragmentShadingRateRasterizationSamples =
VK_SAMPLE_COUNT_1_BIT |
VK_SAMPLE_COUNT_2_BIT |
VK_SAMPLE_COUNT_4_BIT |
VK_SAMPLE_COUNT_8_BIT;
props->maxFragmentShadingRateRasterizationSamples = VK_SAMPLE_COUNT_8_BIT;
props->fragmentShadingRateWithShaderDepthStencilWrites = false;
props->fragmentShadingRateWithSampleMask = true;
props->fragmentShadingRateWithShaderSampleMask = false;