summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2020-06-28 19:58:08 -0400
committerMarge Bot <eric+marge@anholt.net>2020-06-29 13:08:51 +0000
commit0ed100ea498c38b7b87be34d2c46f5cdb60e3009 (patch)
tree6ed210e0cba64110d638e2d08ccf63a9de44646a
parentcb10edd54467b81105f7d68173809006d00f0d07 (diff)
turnip: enable largePoints
Passes dEQP-VK.rasterization.primitive_size.points.point_size_* Signed-off-by: Jonathan Marek <jonathan@marek.ca> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5678>
-rw-r--r--src/freedreno/vulkan/tu_device.c6
1 files 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,