From fce0027d913f6538cb1f1d40675191d2a9ffadfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Thu, 15 Jul 2021 13:57:54 -0700 Subject: [PATCH] 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 Part-of: --- 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,