summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2019-02-22 11:02:34 +0100
committerChristian Gmeiner <[email protected]>2019-02-23 16:00:25 +0100
commit7244e768040859126a5b74023f587beaa8bef81c (patch)
tree7ab5b19711ad732c118521b116a03c218ed4887d
parent2bd08b8b9de9b10ecad5b808f56af2aa1bb8e007 (diff)
etnaviv: rs: mark used src resource as read from
Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_rs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c
index fc4f65dbeee..a9d3872ad41 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_rs.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c
@@ -728,6 +728,7 @@ etna_try_rs_blit(struct pipe_context *pctx,
});
etna_submit_rs_state(ctx, &copy_to_screen);
+ resource_read(ctx, &src->base);
resource_written(ctx, &dst->base);
dst->seqno++;
dst->levels[blit_info->dst.level].ts_valid = false;