i965/vs: Try again when we've successfully spilled a reg.
authorEric Anholt <eric@anholt.net>
Wed, 3 Oct 2012 17:03:22 +0000 (10:03 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Oct 2012 20:22:56 +0000 (13:22 -0700)
commitd4bcc6591812ebe72a363cf98371de5e5016f481
tree90b2c98da46e8a3c4d2815559f15761a648c7e5b
parent9237f0ea8d176fb5dcd41868dcc723fe34f6b1f3
i965/vs: Try again when we've successfully spilled a reg.

Before, we'd spill one reg, then continue on without actually register
allocating, then assertion fail when we tried to use a vgrf number as a
register number.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp