summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorJózef Kucia <[email protected]>2018-04-11 00:11:57 +0200
committerSamuel Pitoiset <[email protected]>2018-04-23 11:16:11 +0200
commit8328c64eb1a9b4c6d4ad33574491d92c86a5a500 (patch)
tree073c5a5f8a845888273aa1c014531c008621b6d1 /src/amd/vulkan
parentdab02dea3411d325a5aee6cda5b581e61396ecc6 (diff)
radv: advertise 8 bits of subpixel precision for viewports
This is what radeonsi does. Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-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 d88d5f06422..25c0d47da8b 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -865,7 +865,7 @@ void radv_GetPhysicalDeviceProperties(
.maxViewports = MAX_VIEWPORTS,
.maxViewportDimensions = { (1 << 14), (1 << 14) },
.viewportBoundsRange = { INT16_MIN, INT16_MAX },
- .viewportSubPixelBits = 13, /* We take a float? */
+ .viewportSubPixelBits = 8,
.minMemoryMapAlignment = 4096, /* A page */
.minTexelBufferOffsetAlignment = 1,
.minUniformBufferOffsetAlignment = 4,