i965/fs: Set exec_all on spills not matching the channel layout of the instruction.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 16 May 2016 08:23:44 +0000 (01:23 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 23 May 2016 21:05:21 +0000 (14:05 -0700)
commit11260cc54f277cadd2abfd22ec313f3f0f504487
treed4b0f33110221652f9a5934475dac955cdd7c1ca
parentbb67c467a48f89177cf5a1c9904a627704ea7844
i965/fs: Set exec_all on spills not matching the channel layout of the instruction.

This prevents the application of an incorrect channel mask by the
scratch write instruction for spilled variables that don't have an
exact one-to-one correspondence between channels of the variable and
32-bit components of the scratch write instruction.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp