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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user