From: Jakob Bornecrantz Date: Thu, 29 Jan 2009 00:33:49 +0000 (+0100) Subject: intel: Dump batchbuffer before sending to hw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e67c020ad493269bab505d47ae5a7cac1e9ddb70;p=mesa.git intel: Dump batchbuffer before sending to hw --- 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;