summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_debug.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-05-22 16:30:07 -0700
committerMatt Turner <[email protected]>2014-06-01 13:18:52 -0700
commitbfcf6a665b2cd782f024f384c053d7bc3033ceec (patch)
tree7525e5ea66134c27651435e7378f0b1d8e3bae50 /src/mesa/drivers/dri/i965/intel_debug.h
parent55bd8b8b660f983b486e699ca74fe5652297331d (diff)
i965: Skip IR annotations with INTEL_DEBUG=noann.
Running shader-db with INTEL_DEBUG=noann reduces the runtime from ~90 to ~80 seconds on my machine. It also reduces the disk space consumed by the .out files from 660 MB (676 on disk) to 343 MB (358 on disk). Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_debug.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h
index f2570548ff8..37dc34a2611 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -61,6 +61,7 @@ extern uint64_t INTEL_DEBUG;
#define DEBUG_VUE 0x40000000
#define DEBUG_NO_DUAL_OBJECT_GS 0x80000000
#define DEBUG_OPTIMIZER 0x100000000
+#define DEBUG_NO_ANNOTATION 0x200000000
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"