radeonsi: Put retile map in separate buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 30 Jul 2020 15:14:38 +0000 (17:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 19 Sep 2020 07:15:25 +0000 (03:15 -0400)
commitc6c1fa9a2638800155b31701190af7baccb0c18f
treed5754884c076b8687086b6c97713fe4e69e07e1b
parentbe48cf804b34b3318d642a6d4f46a59c37908759
radeonsi: Put retile map in separate buffers.

The retile maps are a software mechanism and hence very suceptible
to change. As such I'd like to avoid making it part of the cross
driver ABI.

Ideally we'd just use the cached tile info + a shader to avoid these
buffers altogether.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6783>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/gallium/drivers/radeonsi/si_compute_blit.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_texture.c