diff options
author | Samuel Pitoiset <[email protected]> | 2019-10-09 10:37:04 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-10 09:04:55 -0700 |
commit | c48dc6ad5f6e7dd65a1926d1a411ccde191f226e (patch) | |
tree | c846db6fa01ace3eb7e99fc89ee8af4b9fafd376 /src/amd | |
parent | 03df69d6a1264d968f3afa2e64552e473bf19e6f (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
(cherry picked from commit 030e67fac31fe6e89b87fdace49cf6757f5c0b77)
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |