summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-01-29 01:33:49 +0100
committerJakob Bornecrantz <[email protected]>2009-01-29 03:00:15 +0100
commite67c020ad493269bab505d47ae5a7cac1e9ddb70 (patch)
tree3263e550d71834c95c447493e0de69e0faadc88e /src
parentf1c0be75b7cd0b69c16aeccb3b7c651194e7e767 (diff)
intel: Dump batchbuffer before sending to hw
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
index 78f5ea0468f..d8917117127 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
@@ -1,4 +1,5 @@
+#include "i915simple/i915_debug.h"
#include "intel_be_batchbuffer.h"
#include "intel_be_context.h"
#include "intel_be_device.h"
@@ -105,6 +106,7 @@ intel_be_batchbuffer_flush(struct intel_be_batchbuffer *batch,
batch->base.ptr += 8;
}
+ i915_dump_batchbuffer(i915);
debug_printf("%s\n", __FUNCTION__);
used = batch->base.ptr - batch->base.map;