i965: Add an INTEL_DEBUG=no16 option.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Jan 2013 22:08:05 +0000 (14:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 12 Jan 2013 23:35:38 +0000 (15:35 -0800)
commit4a6753926f51accd6f71d9caea18b15a99b8be24
tree2bdb08b3286d7fff2f4475a683b821fd8f26d605
parent67ef755908375661c2cc1e7a26922682b981dc97
i965: Add an INTEL_DEBUG=no16 option.

Often when debugging, I don't want to see SIMD16 shaders.  It makes
INTEL_DEBUG=vs/fs output much easier to read, especially when a program
dumps many shaders.  Plus, I also want to verify that SIMD8 works before
even considering SIMD16.

v2: Fix the likeliness check (caught by Chris and Eric).

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h