etnaviv: flush source TS before resolve
authorLucas Stach <l.stach@pengutronix.de>
Mon, 26 Jun 2017 15:26:20 +0000 (17:26 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 14 Jul 2017 15:13:12 +0000 (17:13 +0200)
commitbccd21ee88f633efafb59d0ef8a42478f2faa90b
treeef19fee26b9321d2e4b575a0c87aab4590e9aa07
parente9b3381715f55f4c6b0bc6bec3290fb1be338bb8
etnaviv: flush source TS before resolve

If we blit from a rendertarget or a depthstencil buffer there might still
be dirty data in the TS buffer which needs to be flushed out.

Fixes missing shadow tiles in glmark2 shadow.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c