v3dv: Update texture padding logic to match v3d changes
authorLucas Fryzek <lfryzek@igalia.com>
Fri, 26 May 2023 18:52:54 +0000 (14:52 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 05:27:08 +0000 (05:27 +0000)
commit673acc3d011d70a1f9e1599454f407523f306fcb
treef35c9b617fe66ae9d4760de78c3d744f7669c881
parent10b4b3bf3fbdb60997e6ecfbc1b5d98fac1b622e
v3dv: Update texture padding logic to match v3d changes

Piglit tests for v3d highlighted issues with the padding
computation when allocating memory for slices. This change
moves the fixes from v3d to v3dv.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23260>
src/broadcom/vulkan/v3dv_image.c