radeonsi: bind shader images after DCC is disabled for image stores
authorMarek Olšák <marek.olsak@amd.com>
Mon, 27 Apr 2020 01:36:59 +0000 (21:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 22:27:31 +0000 (22:27 +0000)
commit93d5c860812a2565348d07cc1a00bb973f37f034
tree9a6bf742c67b605ed948920f7701b1a7359de393
parent44d27fd6fba92a3b11c10d06f1b3babeffbcd4bb
radeonsi: bind shader images after DCC is disabled for image stores

This prevents an infinite recursion with a compute-based DCC decompression
when it restores shader images.

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