Mesa (staging/19.2): radv: bump minTexelBufferOffsetAlignment to 4
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 10 22:25:04 UTC 2019
Module: Mesa
Branch: staging/19.2
Commit: c48dc6ad5f6e7dd65a1926d1a411ccde191f226e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c48dc6ad5f6e7dd65a1926d1a411ccde191f226e
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Wed Oct 9 10:37:04 2019 +0200
radv: bump minTexelBufferOffsetAlignment to 4
The spec has probably been misinterpreted during RADV bringup.
This fixes GPU hangs with dEQP-VK.binding_model.*offset_nonzero*.
Fixes: f4e499ec791 ("radv: add initial non-conformant radv vulkan driver")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 030e67fac31fe6e89b87fdace49cf6757f5c0b77)
---
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 cd495fcaf3b..042e8bde622 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1170,7 +1170,7 @@ void radv_GetPhysicalDeviceProperties(
.viewportBoundsRange = { INT16_MIN, INT16_MAX },
.viewportSubPixelBits = 8,
.minMemoryMapAlignment = 4096, /* A page */
- .minTexelBufferOffsetAlignment = 1,
+ .minTexelBufferOffsetAlignment = 4,
.minUniformBufferOffsetAlignment = 4,
.minStorageBufferOffsetAlignment = 4,
.minTexelOffset = -32,
More information about the mesa-commit
mailing list