i965/vec4: Add the ability to suppress register spilling.
authorPaul Berry <stereotype441@gmail.com>
Wed, 16 Oct 2013 19:13:20 +0000 (12:13 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 25 Oct 2013 05:00:43 +0000 (22:00 -0700)
commit34cba13ef822faebbb1f10f1400f87fa9bf70d60
treeb3a8a39d9f0ec2c96f4b9505585a9a2fab545ce5
parent89647cffb31ee1ea42d581b1053b4bb147b3e58a
i965/vec4: Add the ability to suppress register spilling.

In future patches, this will allow us to first try compiling a
geometry shader in DUAL_OBJECT mode (which is more efficient but uses
more registers) and then if spilling is required, fall back on
DUAL_INSTANCED mode.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp