i965/fs: fix regs_read() for LINTERP

The second source always stays within the same SIMD8 register.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Connor Abbott <connor.w.abbott@intel.com>
This commit is contained in:
Connor Abbott
2015-07-01 09:58:47 -07:00
parent eaf799ddff
commit 9f344b908a
+2 -1
View File
@@ -685,7 +685,8 @@ fs_inst::regs_read(int arg) const
case FS_OPCODE_LINTERP:
if (arg == 0)
return exec_size / 4;
break;
else
return 1;
case FS_OPCODE_PIXEL_X:
case FS_OPCODE_PIXEL_Y: