summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index 9c1742eb2b4..a50b2f87ceb 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -94,6 +94,9 @@ struct glthread_state
/** The ring of batches in memory. */
struct glthread_batch batches[MARSHAL_MAX_BATCHES];
+ /** Pointer to the batch currently being filled. */
+ struct glthread_batch *next_batch;
+
/** Index of the last submitted batch. */
unsigned last;