The second source always stays within the same SIMD8 register.
Signed-off-by: Connor Abbott <[email protected]>
---
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
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev