From: Samuel Pitoiset Date: Wed, 9 Oct 2019 08:37:04 +0000 (+0200) Subject: radv: bump minTexelBufferOffsetAlignment to 4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=030e67fac31fe6e89b87fdace49cf6757f5c0b77;p=mesa.git 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 Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index efd3eb39417..1973079b45d 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1169,7 +1169,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,