diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-11-02 11:47:09 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-11-02 11:47:09 -0400 |
commit | 5c7bfb06e087ce4162590359ad75d1fca98f3549 (patch) | |
tree | 31156ef549c67612c0f396d813d5b916ba482dbe /src/mesa/pipe/llvm/instructions.h | |
parent | cf363ba30746ee0fd46b97986ea9fd753e093039 (diff) |
Implement COS and CMP opcode.
There's some weird rounding issue with COS that I can't figure
out.
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.h')
-rw-r--r-- | src/mesa/pipe/llvm/instructions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructions.h b/src/mesa/pipe/llvm/instructions.h index 83d07e2f2e..d33f61a9c1 100644 --- a/src/mesa/pipe/llvm/instructions.h +++ b/src/mesa/pipe/llvm/instructions.h @@ -64,6 +64,8 @@ public: void brk(); void cal(int label, llvm::Value *out, llvm::Value *in, llvm::Value *cst, llvm::Value *tmp); + llvm::Value *cmp(llvm::Value *in1, llvm::Value *in2, llvm::Value *in3); + llvm::Value *cos(llvm::Value *in); llvm::Value *cross(llvm::Value *in1, llvm::Value *in2); llvm::Value *dp3(llvm::Value *in1, llvm::Value *in2); llvm::Value *dp4(llvm::Value *in1, llvm::Value *in2); |