amd: fix tile_swizzle on gfx11 - should be shifted by 10 bits, not 8
authorMarek Olšák <marek.olsak@amd.com>
Tue, 24 Jan 2023 07:44:48 +0000 (02:44 -0500)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:43 +0000 (20:34 +0000)
commit2da08ed347dc5f730caa46ebba5444a9bd2b344f
tree19e3bf3e8eca3673fa3fed039637333af4cf62ab
parentd218080952ebe035dc52b2b922048756bb455ade
amd: fix tile_swizzle on gfx11 - should be shifted by 10 bits, not 8

This reverts the radv_adjust_tile_swizzle change to unify the code.

Fixes: 529eb739fc4 - radeonsi/gfx11: add CB deltas

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21041>
(cherry picked from commit 47f598a183e849dfee4a587b51074664ee778312)
.pick_status.json
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_sdma_copy_image.c