diff options
author | Matt Turner <[email protected]> | 2015-04-01 17:44:16 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-06 10:13:22 -0700 |
commit | 5c71cf85315320fcb8b1cc2178f7f2d76b3beeef (patch) | |
tree | 49f622775d1363496846d95df9cfdc480e3c0f03 /src/mesa/program/ir_to_mesa.cpp | |
parent | 490621f0f2814ff1713c74f030acaff3f19cf8fb (diff) |
glsl: Remove never used sin_reduced/cos_reduced.
These were added in commit f2616e56, presumably in preparation for
translating ARB vp/fp into GLSL IR. That never happened, and neither did
a lowering pass that actually generated these instructions.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.cpp')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 39790ec8e8c..3a78dc4f0e3 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1122,12 +1122,6 @@ ir_to_mesa_visitor::visit(ir_expression *ir) case ir_unop_cos: emit_scalar(ir, OPCODE_COS, result_dst, op[0]); break; - case ir_unop_sin_reduced: - emit_scs(ir, OPCODE_SIN, result_dst, op[0]); - break; - case ir_unop_cos_reduced: - emit_scs(ir, OPCODE_COS, result_dst, op[0]); - break; case ir_unop_dFdx: emit(ir, OPCODE_DDX, result_dst, op[0]); |