Mesa (master): turnip: enable largePoints

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 29 13:31:20 UTC 2020


Module: Mesa
Branch: master
Commit: 0ed100ea498c38b7b87be34d2c46f5cdb60e3009
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ed100ea498c38b7b87be34d2c46f5cdb60e3009

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Sun Jun 28 19:58:08 2020 -0400

turnip: enable largePoints

Passes dEQP-VK.rasterization.primitive_size.points.point_size_*

Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5678>

---

 src/freedreno/vulkan/tu_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index a328f1164cd..b0f3feb3902 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -608,7 +608,7 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .fillModeNonSolid = true,
       .depthBounds = true,
       .wideLines = false,
-      .largePoints = false,
+      .largePoints = true,
       .alphaToOne = true,
       .multiViewport = false,
       .samplerAnisotropy = true,
@@ -877,9 +877,9 @@ tu_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .maxCullDistances = 8,
       .maxCombinedClipAndCullDistances = 8,
       .discreteQueuePriorities = 1,
-      .pointSizeRange = { 0.125, 255.875 },
+      .pointSizeRange = { 1, 4092 },
       .lineWidthRange = { 0.0, 7.9921875 },
-      .pointSizeGranularity = (1.0 / 8.0),
+      .pointSizeGranularity = 	0.0625,
       .lineWidthGranularity = (1.0 / 128.0),
       .strictLines = false, /* FINISHME */
       .standardSampleLocations = true,



More information about the mesa-commit mailing list