i965: Don't spill "smeared" registers.
authorPaul Berry <stereotype441@gmail.com>
Wed, 19 Sep 2012 20:28:00 +0000 (13:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Sep 2012 14:02:14 +0000 (07:02 -0700)
commitab5ce2789fe9e5f2789ee22fdb02bcfed42a7125
treec7316341bd5452a7ff765316ae078d5481c02de9
parent374925bec9c3c613ef0c6855d0ddf7e081b446d8
i965: Don't spill "smeared" registers.

Fixes an assertion failure when compiling certain shaders that need both
pull constants and register spilling:

brw_eu_emit.c:204: validate_reg: Assertion `execsize >= width' failed.

NOTE: This is a candidate for release branches.

Signed-off-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp