i965: Skip IR annotations with INTEL_DEBUG=noann.
authorMatt Turner <mattst88@gmail.com>
Thu, 22 May 2014 23:30:07 +0000 (16:30 -0700)
committerMatt Turner <mattst88@gmail.com>
Sun, 1 Jun 2014 20:18:52 +0000 (13:18 -0700)
commitbfcf6a665b2cd782f024f384c053d7bc3033ceec
tree7525e5ea66134c27651435e7378f0b1d8e3bae50
parent55bd8b8b660f983b486e699ca74fe5652297331d
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 <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/intel_debug.c
src/mesa/drivers/dri/i965/intel_debug.h