i965: Add do32 debug option.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 27 May 2016 04:28:45 +0000 (21:28 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:06 +0000 (23:29 -0700)
commit46ce93ed22891455dbe3eb4c69f5eddd2a7dcf00
treecbc8c8e90f03f060910baa54f471e81c569ffcad
parent864737ce6cd5bae030079e749b8b18774a62d073
i965: Add do32 debug option.

The do32 INTEL_DEBUG option causes the back-end to try to generate a
SIMD32 program when compiling a compute shader regardless of the
specified compute shader workgroup size, which will be useful for
testing SIMD32 code generation in the most common case in which the
workgroup size doesn't exceed the SIMD16 limit so SIMD32 codegen
wouldn't be automatically enabled.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/intel_debug.c
src/mesa/drivers/dri/i965/intel_debug.h