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

Author: Samuel Pitoiset <[email protected]>
Date:   Mon Dec 28 08:44:03 2020 +0100

radv: disable stippledBresenhamLines on GFX9

Some CTS fail on Vega10 but work on Raven.

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

---

 src/amd/vulkan/radv_device.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 55626da2636..94262b32256 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1365,7 +1365,10 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->bresenhamLines = true;
                        features->smoothLines = false;
                        features->stippledRectangularLines = false;
-                       features->stippledBresenhamLines = true;
+                       /* FIXME: Some stippled Bresenham CTS fails on Vega10
+                        * but work on Raven.
+                        */
+                       features->stippledBresenhamLines = 
pdevice->rad_info.chip_class != GFX9;
                        features->stippledSmoothLines = false;
                        break;
                }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to