From 0d605bb8e067937860ea353dbfdbd6e36863b2c7 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 6 Aug 2021 16:57:17 +0200 Subject: [PATCH] radv: disable fragmentShadingRateWithCustomSampleLocations From the Vulkan spec 1.2.187. "fragmentShadingRateWithCustomSampleLocations specifies whether custom sample locations are supported for multi-pixel fragments. It must be VK_FALSE if VK_EXT_sample_locations is not supported." VK_EXT_sample_locations is disabled on GFX10+. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f7f91892ee6..fd9f440e8b8 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2350,7 +2350,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, props->fragmentShadingRateWithShaderSampleMask = false; props->fragmentShadingRateWithConservativeRasterization = true; props->fragmentShadingRateWithFragmentShaderInterlock = false; - props->fragmentShadingRateWithCustomSampleLocations = true; + props->fragmentShadingRateWithCustomSampleLocations = false; props->fragmentShadingRateStrictMultiplyCombiner = true; break; }