From d8099df65a6bf25feb8971ac38d0400daea76ffc Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 26 Apr 2021 11:08:20 -0700 Subject: [PATCH] turnip: Drop wideLines properties since we don't support wide lines. The blob doesn't expose wideLines either, and dEQP-VK.info.device_properties fails if you claim wide line properties without it. Part-of: --- src/freedreno/vulkan/tu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 91c9c6ca12e..5c99dc39f3c 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -879,9 +879,9 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, .maxCombinedClipAndCullDistances = 8, .discreteQueuePriorities = 1, .pointSizeRange = { 1, 4092 }, - .lineWidthRange = { 0.0, 7.9921875 }, + .lineWidthRange = { 1.0, 1.0 }, .pointSizeGranularity = 0.0625, - .lineWidthGranularity = (1.0 / 128.0), + .lineWidthGranularity = 0.0, .strictLines = false, /* FINISHME */ .standardSampleLocations = true, .optimalBufferCopyOffsetAlignment = 128,