i965/fs: Fix register spilling for 16-wide.
authorEric Anholt <eric@anholt.net>
Wed, 16 Oct 2013 19:16:51 +0000 (12:16 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 31 Oct 2013 00:51:10 +0000 (17:51 -0700)
commit0e20051f54f31f83edba9ac9f8f3a16bb747c698
tree84649b750a3b80bd1988fa62077a48df2524aef8
parent537f183fe67e0cf9f5737106d914cdabcf5d002e
i965/fs: Fix register spilling for 16-wide.

Things blew up when I enabled the debug register spill code without
disabling 16-wide, so I decided to just fix 16-wide spilling.

We still don't generate 16-wide when register spilling happens as part of
allocation (since we expect it to be slower), but now we can experiment
with allowing it in some cases in the future.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp