summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_batch.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-01-10 14:57:55 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-01-25 15:50:05 +0000
commit7a207682aafc05c62cbc5851cc6c98c43aa3d9bd (patch)
tree5221e1d9b69f0c3e1de150ced729c7e6a64a5cc6 /src/mesa/pipe/i965simple/brw_batch.h
parent59d66bf9df3a6b964f177a8aff286cac63476add (diff)
965: add asserts to catch batch overrun
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_batch.h')
-rw-r--r--src/mesa/pipe/i965simple/brw_batch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_batch.h b/src/mesa/pipe/i965simple/brw_batch.h
index 8605d7c108..5f5932a488 100644
--- a/src/mesa/pipe/i965simple/brw_batch.h
+++ b/src/mesa/pipe/i965simple/brw_batch.h
@@ -44,7 +44,8 @@
#define OUT_RELOC( buf, flags, delta ) \
brw->winsys->batch_reloc(brw->winsys, buf, flags, delta)
-#define ADVANCE_BATCH()
+#define ADVANCE_BATCH() \
+ brw->winsys->batch_end( brw->winsys )
/* XXX: this is bogus - need proper handling for out-of-memory in batchbuffer.
*/