diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 12:49:52 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 12:49:52 +0000 |
commit | 285801a9eda72310aa34e39c82beb57ec5e752d3 (patch) | |
tree | 47a6645e48d5a58c7905e73851b8b88593a82314 /src/mesa/drivers/dri/i965 | |
parent | 408ce7e861d3a09acaf0b049d738da30850dbfae (diff) |
Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index f12fb4c7f3..cd821b9045 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; } |