summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_batch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_batch.h')
-rw-r--r--src/mesa/pipe/i965simple/brw_batch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/i965simple/brw_batch.h b/src/mesa/pipe/i965simple/brw_batch.h
index bef69ac871..8605d7c108 100644
--- a/src/mesa/pipe/i965simple/brw_batch.h
+++ b/src/mesa/pipe/i965simple/brw_batch.h
@@ -53,4 +53,6 @@
brw->hardware_dirty = ~0; \
} while (0)
+#define BRW_BATCH_STRUCT(brw, s) brw_batchbuffer_data( brw->winsys, (s), sizeof(*(s)))
+
#endif