diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-26 14:09:54 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-26 14:55:44 -0700 |
commit | 7268bd82f60b1c9642a48dcfff6d77b2897222cd (patch) | |
tree | 2e5684d2f98c6117e529b572583839a626b33d60 | |
parent | e85f8272d0757989aeab650fbf929b382d671492 (diff) |
i965: Use the implied move in brw_math() in the new FS.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 57c5f55341..f856ee79fa 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1175,7 +1175,6 @@ fs_visitor::generate_math(fs_inst *inst, break; } - brw_MOV(p, brw_message_reg(2), src[0]); if (inst->opcode == FS_OPCODE_POW) { brw_MOV(p, brw_message_reg(3), src[1]); } @@ -1184,7 +1183,7 @@ fs_visitor::generate_math(fs_inst *inst, op, inst->saturate ? BRW_MATH_SATURATE_SATURATE : BRW_MATH_SATURATE_NONE, - 2, brw_null_reg(), + 2, src[0], BRW_MATH_DATA_VECTOR, BRW_MATH_PRECISION_FULL); } |