Mesa (master): radv: disable stippledBresenhamLines on GFX9
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 31 08:38:08 UTC 2020
Module: Mesa
Branch: master
Commit: ef06f1bb03c84754438621a4cce9d4cc063007f7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef06f1bb03c84754438621a4cce9d4cc063007f7
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
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 <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
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;
}
More information about the mesa-commit
mailing list