i965: Add envvar to debug the optimization passes.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner
2014-04-11 21:10:53 -07:00
parent 3fc72f2ec6
commit 08c2acd8d9
2 changed files with 2 additions and 0 deletions

View File

@@ -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 }
};

View File

@@ -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"