summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-04-08 18:46:23 -0700
committerEric Anholt <eric@anholt.net>2013-04-12 16:32:12 -0700
commit36d0fde603015066fce0ff37fd9be609800243e8 (patch)
tree0931c899e483fc81528eb017a8a684b622507586 /src/mesa
parent2cb7f1e766d28dd238274f74d9568ab4438c4965 (diff)
downloadexternal_mesa3d-36d0fde603015066fce0ff37fd9be609800243e8.zip
external_mesa3d-36d0fde603015066fce0ff37fd9be609800243e8.tar.gz
external_mesa3d-36d0fde603015066fce0ff37fd9be609800243e8.tar.bz2
i965/fs: Remove incorrect note of writing attr in centroid workaround.
This instruction doesn't update its IR destination, it just moves from payload to f0. This caused the dead code elimination pass I'm adding to dead-code-eliminate the first step of interpolation. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f9a50b1..09817b7 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1064,7 +1064,7 @@ fs_visitor::emit_general_interpolation(ir_variable *ir)
* unlit, replace the centroid data with non-centroid
* data.
*/
- emit(FS_OPCODE_MOV_DISPATCH_TO_FLAGS, attr);
+ emit(FS_OPCODE_MOV_DISPATCH_TO_FLAGS);
fs_inst *inst = emit_linterp(attr, fs_reg(interp),
interpolation_mode, false);
inst->predicate = BRW_PREDICATE_NORMAL;