aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-01-28 23:24:42 +0100
committerJakob Bornecrantz <[email protected]>2009-01-28 23:28:10 +0100
commit72b2733287ee89916d6180becf65ff3b45d5a23a (patch)
treed80c809a1e3886b5c824e831f1f05b2b2b4d06fa /src/gallium/drivers/i915simple
parent1642dd2f86938242bfa8293323daaaf64573976f (diff)
i915: Add verbose debuging
Only enabled while in development this commit will be reverted in the future.
Diffstat (limited to 'src/gallium/drivers/i915simple')
-rw-r--r--src/gallium/drivers/i915simple/i915_batch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_batch.h b/src/gallium/drivers/i915simple/i915_batch.h
index 45bf4f4028f..88cfc324fad 100644
--- a/src/gallium/drivers/i915simple/i915_batch.h
+++ b/src/gallium/drivers/i915simple/i915_batch.h
@@ -108,7 +108,8 @@ i915_batchbuffer_flush( struct i915_batchbuffer *batch,
#define OUT_RELOC( buf, flags, delta ) \
i915_batchbuffer_reloc( i915->batch, buf, flags, delta )
-#define FLUSH_BATCH(fence) do { \
+#define FLUSH_BATCH(fence) do { \
+ i915_dump_batchbuffer(i915); \
i915->winsys->batch_flush( i915->winsys, fence ); \
i915->hardware_dirty = ~0; \
} while (0)