From fbcf05382baefe6ecdd279e2c98025f15938fadc Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 5 Dec 2019 17:28:47 +0100 Subject: [PATCH] radv: fix line width range and granularity The hardware supports wide lines and the granularity is way larger. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index de98dd86719..a016ff3886d 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1407,9 +1407,9 @@ void radv_GetPhysicalDeviceProperties( .maxCombinedClipAndCullDistances = 8, .discreteQueuePriorities = 2, .pointSizeRange = { 0.0, 8192.0 }, - .lineWidthRange = { 0.0, 7.9921875 }, + .lineWidthRange = { 0.0, 8192.0 }, .pointSizeGranularity = (1.0 / 8.0), - .lineWidthGranularity = (1.0 / 128.0), + .lineWidthGranularity = (1.0 / 8.0), .strictLines = false, /* FINISHME */ .standardSampleLocations = true, .optimalBufferCopyOffsetAlignment = 128, -- 2.30.2