diff options
author | Matt Turner <[email protected]> | 2014-04-11 21:10:53 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-01 13:18:52 -0700 |
commit | 08c2acd8d97fe19c0620190c0ce47e9128a75842 (patch) | |
tree | b021cddafed3d04db026fdc727d37869df7e3f64 /src/mesa | |
parent | 3fc72f2ec601cb758d69cf2933dd6268d1a80c5b (diff) |
i965: Add envvar to debug the optimization passes.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_debug.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_debug.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_debug.c b/src/mesa/drivers/dri/i965/intel_debug.c index 621a571c3d8..bba873bd3d7 100644 --- a/src/mesa/drivers/dri/i965/intel_debug.c +++ b/src/mesa/drivers/dri/i965/intel_debug.c @@ -64,6 +64,7 @@ static const struct dri_debug_control debug_control[] = { { "no16", DEBUG_NO16 }, { "blorp", DEBUG_BLORP }, { "nodualobj", DEBUG_NO_DUAL_OBJECT_GS }, + { "optimizer", DEBUG_OPTIMIZER }, { NULL, 0 } }; diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h index 6402cec80d8..f2570548ff8 100644 --- a/src/mesa/drivers/dri/i965/intel_debug.h +++ b/src/mesa/drivers/dri/i965/intel_debug.h @@ -60,6 +60,7 @@ extern uint64_t INTEL_DEBUG; #define DEBUG_NO16 0x20000000 #define DEBUG_VUE 0x40000000 #define DEBUG_NO_DUAL_OBJECT_GS 0x80000000 +#define DEBUG_OPTIMIZER 0x100000000 #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "INTEL-MESA" |