summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2019-03-11 10:25:53 +0100
committerDylan Baker <dylan@pnwbakers.com>2019-03-12 09:27:29 -0700
commit0fe48675e5893d2a6064a0618796452772a69a08 (patch)
treeb1684465720bbcd94915621866fb095bf5beabab /src
parentf763433180a6ee6f8d7314c2a63a015ab5fbe01b (diff)
downloadmesa-0fe48675e5893d2a6064a0618796452772a69a08.tar.gz
mesa-0fe48675e5893d2a6064a0618796452772a69a08.tar.bz2
mesa-0fe48675e5893d2a6064a0618796452772a69a08.zip
radv: fix pointSizeRange limits
The values should match the ones that are emitted. This fixes new CTS dEQP-VK.rasterization.primitive_size.points.*. Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 6403171843824ec8e9484bb8a21a4a18bfb01193)
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 4bc4e6bcc03..2075a0ef7a3 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1002,7 +1002,7 @@ void radv_GetPhysicalDeviceProperties(
.maxCullDistances = 8,
.maxCombinedClipAndCullDistances = 8,
.discreteQueuePriorities = 2,
- .pointSizeRange = { 0.125, 255.875 },
+ .pointSizeRange = { 0.0, 8192.0 },
.lineWidthRange = { 0.0, 7.9921875 },
.pointSizeGranularity = (1.0 / 8.0),
.lineWidthGranularity = (1.0 / 128.0),