i965/fs: Add an allow_spilling flag to brw_compile_fs
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 May 2016 21:30:25 +0000 (14:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 17:20:11 +0000 (10:20 -0700)
commit265487aedfabbcfb073f9d6053d1ceb510b78b27
tree1ea02e64079027468640e4945b029a0084d4eedb
parentdd4b44efc04413453e4cbf78434b29392eb148a9
i965/fs: Add an allow_spilling flag to brw_compile_fs

This allows us to disable spilling for blorp shaders since blorp state
setup doesn't handle spilling.  Without this, blorp fails hard if you run
with INTEL_DEBUG=spill.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Tested-by: Francisco Jerez <currojerez@riseup.net>
src/intel/vulkan/anv_pipeline.c
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_wm.c