nir: Remove fsin_reduced/fcos_reduced.
authorMatt Turner <mattst88@gmail.com>
Thu, 2 Apr 2015 01:25:02 +0000 (18:25 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 6 Apr 2015 17:13:22 +0000 (10:13 -0700)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_opcodes.py
src/mesa/drivers/dri/i965/brw_fs_nir.cpp

index f96424fa411f52e77eeeffa7ac09cf7e4296be39..264806f5d7c88c496732701e59555839936e982c 100644 (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.
index e9692aa5c177bb4752720c42e779ed5ce61c2103..a874337bb6bbd75effbb82e03b64653a5a52aa2f 100644 (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;