Commit bb576768 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Disable incorrect fsin/fcos for now

parent 051c5c1d
......@@ -358,8 +358,12 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
EMIT_ALU_CASE_1(fsqrt, fsqrt);
EMIT_ALU_CASE_1(fexp2, fexp2);
EMIT_ALU_CASE_1(flog2, flog2);
EMIT_ALU_CASE_1(fsin, fsin);
EMIT_ALU_CASE_1(fcos, fcos);
// TODO: Input needs to be divided by pi, but doing that
// efficiently might require a custom NIR instruction +
// lowering pass?
//EMIT_ALU_CASE_1(fsin, fsin);
//EMIT_ALU_CASE_1(fcos, fcos);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment