[Mesa-dev] [PATCH 1/5] i965/fs: fix regs_read() for LINTERP
Connor Abbott
cwabbott0 at gmail.com
Wed Jul 1 11:51:35 PDT 2015
The second source always stays within the same SIMD8 register.
Signed-off-by: Connor Abbott <connor.w.abbott at intel.com>
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index dd95519..38b9095 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -676,7 +676,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:
--
2.4.3
More information about the mesa-dev
mailing list