From: Keith Whitwell Date: Wed, 20 Sep 2006 12:49:52 +0000 (+0000) Subject: Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=285801a9eda72310aa34e39c82beb57ec5e752d3;p=mesa.git Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps. --- diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index f12fb4c7f3e..cd821b9045a 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -400,7 +400,7 @@ GLboolean brw_draw_prims( GLcontext *ctx, retval = brw_try_draw_prims(ctx, arrays, prim, nr_prims, ib, min_index, max_index, flags); } - if (intel->aub_file) { + if (intel->aub_file && (INTEL_DEBUG & DEBUG_SYNC)) { intelFinish( &intel->ctx ); intel->aub_wrap = 1; }