i965/vs: When failing due to lack of spilling, don't continue on.
authorEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 17:32:20 +0000 (10:32 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 9 Sep 2011 04:34:03 +0000 (21:34 -0700)
commit14081695137c095f0a8430779ecb09165bec6455
tree52a1a2f8c2a60bed95e6c792c28f704caf919702
parent27c03cb86aa9149d001eefb3cf1e67a97f5bc886
i965/vs: When failing due to lack of spilling, don't continue on.

Fixes assertion failure from double-free in oglc
glsl-arrayobject constructor.declaration.structure

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp