i965/fs: Don't rely on the default builder to create a null register in emit_spill.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 17:14:41 +0000 (20:14 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 11:15:10 +0000 (14:15 +0300)
commita0b192d3d9fa64f6f8bff5f1e456e40e72f4875e
treef9228f1a30743d6df3a60a0437e63bb7fa955e54
parentbfad71606a987f14f20d2c3607846648f8537f2b
i965/fs: Don't rely on the default builder to create a null register in emit_spill.

It's not guaranteed to have the same width as the instruction
generating the spilled variable.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp