projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab02de
)
radv: advertise 8 bits of subpixel precision for viewports
author
Józef Kucia
<joseph.kucia@gmail.com>
Tue, 10 Apr 2018 22:11:57 +0000
(
00:11
+0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 23 Apr 2018 09:16:11 +0000
(11:16 +0200)
This is what radeonsi does.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index d88d5f06422091dc827ded8cc7dc89b7dab71b56..25c0d47da8b580c0a9ef26cff0a25df8761d2a4a 100644
(file)
--- 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,