Mesa (master): i965: Allow INTEL_DEBUG=fs as a synonym for INTEL_DEBUG=wm.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Dec 4 02:01:43 UTC 2012


Module: Mesa
Branch: master
Commit: 3ac97c6ccc06c877d36775885270924c0e750492
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ac97c6ccc06c877d36775885270924c0e750492

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sun Dec  2 20:36:16 2012 -0800

i965: Allow INTEL_DEBUG=fs as a synonym for INTEL_DEBUG=wm.

I keep accidentally trying to use it.  "fs" is a sensible name for
fragment shader debugging, and "wm" is...not.  It's also more symmetric
with "vs".

Leave INTEL_DEBUG=wm because old habits die hard.

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/intel/intel_context.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 204609e..15b77b2 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -476,6 +476,7 @@ static const struct dri_debug_control debug_control[] = {
    { "buf",   DEBUG_BUFMGR},
    { "reg",   DEBUG_REGION},
    { "fbo",   DEBUG_FBO},
+   { "fs",    DEBUG_WM },
    { "gs",    DEBUG_GS},
    { "sync",  DEBUG_SYNC},
    { "prim",  DEBUG_PRIMS },




More information about the mesa-commit mailing list