Revert "radeonsi: honor a user-specified pitch on gfx10.3"
authorMarek Olšák <marek.olsak@amd.com>
Wed, 29 Jul 2020 23:06:44 +0000 (19:06 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 7 Aug 2020 15:22:21 +0000 (11:22 -0400)
commit61c671c97e8632cf360ddbd2a6d7b3fe0e63627f
tree6dc26aa762e4a076d8093572a37a46e69d50f790
parent15bd3f3712a2aa0fb9d550edc7b4a6a35a015b42
Revert "radeonsi: honor a user-specified pitch on gfx10.3"

This reverts commit c4b5fd9ab096a0bb5106b93191b13c81cc32243b.

It breaks mipmapping. This is only meant to be used by OpenCL, which allows
setting a user pitch for linear images. In all other cases, don't support
a custom pitch.

Fixes: c4b5fd9ab096a0bb51 "radeonsi: honor a user-specified pitch on gfx10.3"
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6137>
src/gallium/drivers/radeonsi/si_state.c