v3dv/device: fix minTexelBufferOffsetAlingment
As we understand that texture accesses should be aligned to the UIF block size. Fixes several of the CTS tests under this pattern: dEQP-VK.binding_model.shader_access.primary_cmd_buf.uniform_texel_buffer.*.offset_nonzero dEQP-VK.binding_model.shader_access.primary_cmd_buf.storage_texel_buffer.*.offset_nonzero Note: for those tests, using a lower value (64) was enough to get them working, but again, we understand that the real alignment is the UIF block size. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
947fa7033d
commit
f16da2c820
|
@ -855,7 +855,7 @@ v3dv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
2.0 * max_fb_size - 1 },
|
||||
.viewportSubPixelBits = 0,
|
||||
.minMemoryMapAlignment = page_size,
|
||||
.minTexelBufferOffsetAlignment = 16,
|
||||
.minTexelBufferOffsetAlignment = VC5_UIFBLOCK_SIZE,
|
||||
.minUniformBufferOffsetAlignment = 32,
|
||||
.minStorageBufferOffsetAlignment = 32,
|
||||
.minTexelOffset = -8,
|
||||
|
|
Loading…
Reference in New Issue