From: Samuel Pitoiset Date: Thu, 5 Dec 2019 16:28:47 +0000 (+0100) Subject: radv: fix line width range and granularity X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbcf05382baefe6ecdd279e2c98025f15938fadc;p=mesa.git 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: --- 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,