radeonsi: allow tc_compatible_htile to be mutable
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 May 2020 21:34:16 +0000 (17:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 May 2020 16:27:29 +0000 (16:27 +0000)
commit39571d384e02848aff8c8fe635ff4b93d740aab3
tree6c2f3e2bb2dfc3b1c8928827cf276674f537b5df
parent04085bedc26535e47d81e333ee8969b7755421b2
radeonsi: allow tc_compatible_htile to be mutable

Move the relevant code from si_init_depth_surface to
si_emit_framebuffer_state, so that it can be changed after a pipe_surface
is initialized.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4866>
src/gallium/drivers/radeonsi/si_state.c