asahi: Handle non-written RTs correctly
authorAsahi Lina <lina@asahilina.net>
Fri, 11 Aug 2023 04:41:02 +0000 (13:41 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:28 +0000 (20:31 +0000)
commitf1fedb72d37ad8cf4b9f1c0c0b9a6c58b901dac1
tree3fed6b67c4f4e955729124d6d049ffdee6f01c65
parent0f4e3a03fd8729ff97df82c1bc29988d41b0beae
asahi: Handle non-written RTs correctly

When a bound RT is not written to, we need to force the pass type to
translucent to ensure that this draw does not cull draws that do write
to that RT.

Fixes Inochi2D regression after c24b753378.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/gallium/drivers/asahi/agx_state.c