summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-04-02 20:48:44 -0400
committerRob Clark <[email protected]>2015-04-05 16:36:34 -0400
commitdacf22e0a34d4dc2595f3cb0dbee52318dc9d0d7 (patch)
tree1edadeb6b96f00a49c0fec986619f8c670fc85bc /src/gallium/drivers/freedreno/freedreno_context.h
parent2e1445c8f3df7608ba4522f8d088170de4ec788c (diff)
freedreno: mark resources as being read so that writes flush the queue
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h
index 7b0424e65da..a648689cefd 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.h
+++ b/src/gallium/drivers/freedreno/freedreno_context.h
@@ -165,6 +165,9 @@ struct fd_context {
struct fd_bo *query_bo;
uint32_t query_tile_stride;
+ /* list of resources used by currently-unsubmitted renders */
+ struct list_head used_resources;
+
/* table with PIPE_PRIM_MAX entries mapping PIPE_PRIM_x to
* DI_PT_x value to use for draw initiator. There are some
* slight differences between generation: