etnaviv: don't flush resource to self without TS
authorLucas Stach <dev@lynxeye.de>
Sun, 4 Jun 2017 04:24:20 +0000 (06:24 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 8 Jun 2017 16:29:36 +0000 (18:29 +0200)
commitf25390afa49f51fadaafed70a890093f96e7a02d
tree076d0721d160a71bfd11ce172ba3cfb5cd61dba2
parent0f888ad4be32d1c66e2749feacb8b88def03fac9
etnaviv: don't flush resource to self without TS

A resolve to self is only necessary if the resource is fast cleared, so
there is never a need to do so if there is no TS allocated.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_resource.h