OSDN Git Service

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 204609e..15b77b2 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 },