i965/fs: Exit the compile if spilling would overwrite in-use MRFs.
authorEric Anholt <eric@anholt.net>
Tue, 29 Oct 2013 19:46:18 +0000 (12:46 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 31 Oct 2013 00:51:02 +0000 (17:51 -0700)
commit537f183fe67e0cf9f5737106d914cdabcf5d002e
tree84889ab1e52ec7098cd774f79ae6183e0913f651
parent44ec2f1751ec4a9f0ba9035f2343ffe5e16e693c
i965/fs: Exit the compile if spilling would overwrite in-use MRFs.

I believe this will never happen in SIMD8 mode, but it could for SIMD16
when we fix it.

v2: Fix off-by-one in my register counting comment (caught by Paul).

Reviewed-by: Paul Berry <stereotype441@gmail.com> (v1)
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp