Mesa (main): turnip: Drop wideLines properties since we don't support wide lines.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 10 17:43:26 UTC 2021


Module: Mesa
Branch: main
Commit: d8099df65a6bf25feb8971ac38d0400daea76ffc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8099df65a6bf25feb8971ac38d0400daea76ffc

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Apr 26 11:08:20 2021 -0700

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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10470>

---

 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,



More information about the mesa-commit mailing list