mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 07:50:11 +01:00
nir: Remove fsin_reduced/fcos_reduced.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
c8d65dd713
commit
d131630c08
2 changed files with 0 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue