radv: do not honor a user-specified pitch on GFX 10.3
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 4 Aug 2020 08:30:41 +0000 (10:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 5 Aug 2020 10:57:44 +0000 (12:57 +0200)
commit22c807982994d6aab7b1c7d9ac33c5fa033cc5f8
tree4460b412ad18fa4d3a1de9a60f63f541efe2c36f
parent7f25f1f106728f0046672adf9c9ed79185265ea5
radv: do not honor a user-specified pitch on GFX 10.3

According to RadeonSI, it breaks mipmapping.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6168>
src/amd/vulkan/radv_image.c