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

Author: Samuel Pitoiset <[email protected]>
Date:   Tue Feb 21 16:46:41 2023 +0100

radv: enable primitiveUnderestimation on GFX9+

It's passing dEQP-VK.rasterization.conservative.underestimate.* on
NAVI21.

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21459>

---

 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 a47609b3efc..a252d3d3860 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -2522,7 +2522,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice 
physicalDevice,
          properties->primitiveOverestimationSize = 0;
          properties->maxExtraPrimitiveOverestimationSize = 0;
          properties->extraPrimitiveOverestimationSizeGranularity = 0;
-         properties->primitiveUnderestimation = false;
+         properties->primitiveUnderestimation = true;
          properties->conservativePointAndLineRasterization = false;
          properties->degenerateTrianglesRasterized = true;
          properties->degenerateLinesRasterized = false;

Reply via email to