i965/fs: Fix message setup for SIMD8 spills.
authorEric Anholt <eric@anholt.net>
Tue, 5 Nov 2013 06:56:33 +0000 (22:56 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 12 Nov 2013 23:05:07 +0000 (15:05 -0800)
commit7c90947a0ba7f61b58a6fd5b94a08587e68d978e
tree5178883aeb9b10e6608956e50cbc35360be6ea6e
parentbc0e3bb4d05fbb5e8e2af8dce8170cb78cfe0e70
i965/fs: Fix message setup for SIMD8 spills.

In the SIMD16 spilling changes, I replaced a "1" in the spill path with
"mlen", but obviously it wasn't mlen before because spills have the g0
header along with the payload. The interface I was trying to use was
asking for how many physical regs we're writing, so we're looking for "1"
or "2".

I'm guessing this actually passed piglit because the high 8 bits of the
execution mask in SIMD8 mode are all 0s.

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp