etnaviv: flush destination before executing blit
authorLucas Stach <l.stach@pengutronix.de>
Wed, 7 Dec 2022 14:17:32 +0000 (15:17 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Jul 2023 14:21:35 +0000 (14:21 +0000)
commit87021531a321804998f80f7836b1c61f50131839
tree3aed280630fa63b62391655c35c136aca9e81a1d
parentff3741eee1d2eb50226d75315ca0bc48d9848f1c
etnaviv: flush destination before executing blit

A blit into a render target may destroy valid TS information, as the
destination TS isn't updated. Flush the blit destination when necessary
to make sure that all pending TS is resolved into the destination before
the blit is executed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19964>
src/gallium/drivers/etnaviv/etnaviv_blt.c
src/gallium/drivers/etnaviv/etnaviv_rs.c