mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 15:50:11 +01:00
anv: increase minUniformBufferOffsetAlignment to 64
Acked-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4904>
This commit is contained in:
parent
e8cdf12511
commit
a0de2e0090
1 changed files with 4 additions and 2 deletions
|
|
@ -1505,8 +1505,10 @@ void anv_GetPhysicalDeviceProperties(
|
|||
* case of R32G32B32A32 which is 16 bytes.
|
||||
*/
|
||||
.minTexelBufferOffsetAlignment = 16,
|
||||
/* We need 16 for UBO block reads to work and 32 for push UBOs */
|
||||
.minUniformBufferOffsetAlignment = 32,
|
||||
/* We need 16 for UBO block reads to work and 32 for push UBOs.
|
||||
* However, we use 64 here to avoid cache issues.
|
||||
*/
|
||||
.minUniformBufferOffsetAlignment = 64,
|
||||
.minStorageBufferOffsetAlignment = 4,
|
||||
.minTexelOffset = -8,
|
||||
.maxTexelOffset = 7,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue