i965: Allow INTEL_DEBUG=fs as a synonym for INTEL_DEBUG=wm.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Dec 2012 04:36:16 +0000 (20:36 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Dec 2012 01:57:43 +0000 (17:57 -0800)
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@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_context.c

index 204609ebb66c56f9fea32cdad281c92aae7cb736..15b77b214385ec93cfbbf3db4f630409bc973177 100644 (file)
@@ -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 },