From 0ed100ea498c38b7b87be34d2c46f5cdb60e3009 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Sun, 28 Jun 2020 19:58:08 -0400 Subject: [PATCH] turnip: enable largePoints Passes dEQP-VK.rasterization.primitive_size.points.point_size_* Signed-off-by: Jonathan Marek Part-of: --- 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, -- 2.30.2