Module: Mesa Branch: master Commit: 8328c64eb1a9b4c6d4ad33574491d92c86a5a500 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8328c64eb1a9b4c6d4ad33574491d92c86a5a500
Author: Józef Kucia <[email protected]> Date: Wed Apr 11 00:11:57 2018 +0200 radv: advertise 8 bits of subpixel precision for viewports This is what radeonsi does. Reviewed-by: Samuel Pitoiset <[email protected]> --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index d88d5f0642..25c0d47da8 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, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
