summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-07-01 10:26:36 -0700
committerJordan Justen <jordan.l.justen@intel.com>2015-07-09 14:37:23 -0700
commit865b095bfea835dfb9c3ac95a41fed92c25ca2df (patch)
treec5d19ca5968ff1fc3a65c10218594de27df660e4
parent985f40357a1054dc2c43507f079671a0af4ffc98 (diff)
regs_read hackcs-35
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 26f89197ff..54fb71e5ed 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -676,6 +676,8 @@ fs_inst::regs_read(int arg) const
case FS_OPCODE_LINTERP:
if (arg == 0)
return exec_size / 4;
+ else if (arg == 1)
+ return 1;
break;
case FS_OPCODE_PIXEL_X: