i965/fs: Simplify FS_OPCODE_SET_SAMPLE_ID stride mashing a bit.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Feb 2014 22:46:49 +0000 (14:46 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Feb 2014 10:21:26 +0000 (02:21 -0800)
commitf948ad2a070a3b1cd69e7feca6eb3d5764438d9e
tree8a191fbf309a82b6983600039faac024a8ebf48e
parent08fd34c8a3c55ffc74c28bf1e7fdabd66012cd26
i965/fs: Simplify FS_OPCODE_SET_SAMPLE_ID stride mashing a bit.

stride(brw_vec1_reg(...) ...) takes some register, changes the strides,
then changes the strides again.  Let's do it once.

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