diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-11-02 12:09:23 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-11-02 12:09:23 -0400 |
commit | a2debc2704b9126d92d947c0407a0fbd709ab932 (patch) | |
tree | e5a9996a5474e568c781fdc07e0afd767092f823 /src/mesa/pipe/llvm/instructions.h | |
parent | e0e91e7ceb50f0e23311788559a8547dd24c7a80 (diff) |
Implement sin opcode.
Seems to have similar rounding border problems as cos.
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.h')
-rw-r--r-- | src/mesa/pipe/llvm/instructions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructions.h b/src/mesa/pipe/llvm/instructions.h index 95c845e862..e9bfc9d740 100644 --- a/src/mesa/pipe/llvm/instructions.h +++ b/src/mesa/pipe/llvm/instructions.h @@ -95,6 +95,7 @@ public: llvm::Value *scs(llvm::Value *in); llvm::Value *sge(llvm::Value *in1, llvm::Value *in2); llvm::Value *sgt(llvm::Value *in1, llvm::Value *in2); + llvm::Value *sin(llvm::Value *in); llvm::Value *slt(llvm::Value *in1, llvm::Value *in2); llvm::Value *sub(llvm::Value *in1, llvm::Value *in2); llvm::Value *trunc(llvm::Value *in); |