summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/gallivm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm.cpp')
-rw-r--r--src/mesa/pipe/llvm/gallivm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/llvm/gallivm.cpp b/src/mesa/pipe/llvm/gallivm.cpp
index 7e91f8c556c..bd8bfac2085 100644
--- a/src/mesa/pipe/llvm/gallivm.cpp
+++ b/src/mesa/pipe/llvm/gallivm.cpp
@@ -452,7 +452,9 @@ translate_instruction(llvm::Module *module,
out = instr->sgt(inputs[0], inputs[1]);
}
break;
- case TGSI_OPCODE_SIN:
+ case TGSI_OPCODE_SIN: {
+ out = instr->sin(inputs[0]);
+ }
break;
case TGSI_OPCODE_SLE:
break;