Mesa (main): radv: disable fragmentShadingRateWithCustomSampleLocations

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 10 07:41:27 UTC 2021


Module: Mesa
Branch: main
Commit: 0d605bb8e067937860ea353dbfdbd6e36863b2c7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d605bb8e067937860ea353dbfdbd6e36863b2c7

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Fri Aug  6 16:57:17 2021 +0200

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 <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12245>

---

 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;
       }



More information about the mesa-commit mailing list