Mesa (main): anv: Unbreak wide lines on HSW/BDW
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 15 22:10:23 UTC 2021
Module: Mesa
Branch: main
Commit: fce0027d913f6538cb1f1d40675191d2a9ffadfe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fce0027d913f6538cb1f1d40675191d2a9ffadfe
Author: Iván Briano <ivan.briano at intel.com>
Date: Thu Jul 15 13:57:54 2021 -0700
anv: Unbreak wide lines on HSW/BDW
I knew there was a reason the limit was at ~8 and not rounded to it.
Fixes: 004fcfe6985 ("anv: fix some multisample lines_wide CTS tests")
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11914>
---
src/intel/vulkan/anv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 8943b5473a3..158d6734d35 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -2016,7 +2016,7 @@ void anv_GetPhysicalDeviceProperties(
* Since the Windows driver does the same, it's probably fair to assume
* that no one needs more than this.
*/
- .lineWidthRange = { 0.0, 8.0 },
+ .lineWidthRange = { 0.0, 7.9921875 },
.pointSizeGranularity = (1.0 / 8.0),
.lineWidthGranularity = (1.0 / 128.0),
.strictLines = false,
More information about the mesa-commit
mailing list