etnaviv: enable TS also on sampler resources
authorLucas Stach <l.stach@pengutronix.de>
Mon, 21 Nov 2016 11:29:04 +0000 (12:29 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 11 Apr 2017 14:52:27 +0000 (16:52 +0200)
commit797890bbbd3b4d5415005af782244b255cb9c488
tree01bf930951078a26725ed4481fe9254e48be4bf2
parent52f6c8cc31f553ba2005892fcf2ca9b5f10bac91
etnaviv: enable TS also on sampler resources

Fixes a performance issue with imported winsys buffers as those are
marked with binding sampler view.

This might require a TS flush on single pipe chips that directly
sample from the rendered buffer, but otherwise seems to work fine.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_surface.c