summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_batch.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-06-13 03:07:00 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:06 -0800
commit3f863cf680233d4720f9544a6673cc6dbd10f542 (patch)
tree40361a419636f9f7bf10d033c99301dd3bd32af5 /src/gallium/drivers/iris/iris_batch.h
parent80dee3184662bc23f875d4fad06d490847827a80 (diff)
iris: fix the validation list on new batches
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.h')
-rw-r--r--src/gallium/drivers/iris/iris_batch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.h b/src/gallium/drivers/iris/iris_batch.h
index 13e54c59b05..950022b63be 100644
--- a/src/gallium/drivers/iris/iris_batch.h
+++ b/src/gallium/drivers/iris/iris_batch.h
@@ -91,6 +91,9 @@ struct iris_batch {
// XXX: unused
struct hash_table *state_sizes;
struct gen_batch_decode_ctx decoder;
+
+ /** Have we emitted any draw calls to this batch? */
+ bool contains_draw;
};
void iris_init_batch(struct iris_batch *batch,