nir: Remove fsin_reduced/fcos_reduced.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
Matt Turner 2015-04-01 18:25:02 -07:00
parent c8d65dd713
commit d131630c08
2 changed files with 0 additions and 4 deletions

View file

@ -191,8 +191,6 @@ unop("fround_even", tfloat, "_mesa_roundevenf(src0)")
unop("fsin", tfloat, "sinf(src0)")
unop("fcos", tfloat, "cosf(src0)")
unop("fsin_reduced", tfloat, "sinf(src0)")
unop("fcos_reduced", tfloat, "cosf(src0)")
# Partial derivatives.

View file

@ -895,13 +895,11 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr)
unreachable("not reached: should be handled by ir_explog_to_explog2");
case nir_op_fsin:
case nir_op_fsin_reduced:
inst = emit_math(SHADER_OPCODE_SIN, result, op[0]);
inst->saturate = instr->dest.saturate;
break;
case nir_op_fcos:
case nir_op_fcos_reduced:
inst = emit_math(SHADER_OPCODE_COS, result, op[0]);
inst->saturate = instr->dest.saturate;
break;