ac/surface: add radeon_surf::u::gfx9::uses_custom_pitch
authorMarek Olšák <marek.olsak@amd.com>
Wed, 16 Aug 2023 19:21:55 +0000 (15:21 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Aug 2023 19:36:56 +0000 (19:36 +0000)
commit905a00f10a1ded14adde44cb015cb28da3734c16
tree72277fc7b3e15c0c2b0b99faf793bcc1402ca75a
parent9eb00f612a4bedb75b4b8462eab7319edbc8fc2c
ac/surface: add radeon_surf::u::gfx9::uses_custom_pitch

so that we don't try to guess when the pitch is overridden

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24759>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_image.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.c