aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_tris.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-07-12 12:35:19 -0700
committerEric Anholt <[email protected]>2012-08-12 19:08:24 -0700
commit79198063b8adb23536b291081f8df8571926950e (patch)
tree1552cdff68af99791aa4a2cb7dcbfe8102a80985 /src/mesa/drivers/dri/i915/intel_tris.c
parentbf6c1b74705243efdd43f07d381768fceede1f91 (diff)
intel: Rename INTEL_DEBUG=fall to INTEL_DEBUG=perf.
I want to introduce some more debug output for performance surprises that includes fallbacks, but aren't necessarily software rasterization. Leave INTEL_DEBUG=fall in place for those that have used that flag before. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tris.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c
index 5954b24fe5a..549af5e07aa 100644
--- a/src/mesa/drivers/dri/i915/intel_tris.c
+++ b/src/mesa/drivers/dri/i915/intel_tris.c
@@ -1223,7 +1223,7 @@ intelFallback(struct intel_context *intel, GLbitfield bit, bool mode)
assert(!intel->tnl_pipeline_running);
intel_flush(ctx);
- if (INTEL_DEBUG & DEBUG_FALLBACKS)
+ if (INTEL_DEBUG & DEBUG_PERF)
fprintf(stderr, "ENTER FALLBACK %x: %s\n",
bit, getFallbackString(bit));
_swsetup_Wakeup(ctx);
@@ -1236,7 +1236,7 @@ intelFallback(struct intel_context *intel, GLbitfield bit, bool mode)
assert(!intel->tnl_pipeline_running);
_swrast_flush(ctx);
- if (INTEL_DEBUG & DEBUG_FALLBACKS)
+ if (INTEL_DEBUG & DEBUG_PERF)
fprintf(stderr, "LEAVE FALLBACK %s\n", getFallbackString(bit));
tnl->Driver.Render.Start = intelRenderStart;
tnl->Driver.Render.PrimitiveNotify = intelRenderPrimitive;