diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-23 07:11:39 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 11:21:05 -0400 |
commit | ba823b3ded1b6ec47b8a0e26ed08a229fe1a9140 (patch) | |
tree | 29bd5193e10add738748976d56fc499a3fe5fd17 /src/mesa/pipe/llvm/instructions.h | |
parent | 1248b9776bfeec1f61962604b21212d2cf336283 (diff) |
Implement cross product and abs opcode
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 557ae3730b..f7bc4a5839 100644 --- a/src/mesa/pipe/llvm/instructions.h +++ b/src/mesa/pipe/llvm/instructions.h @@ -15,7 +15,9 @@ class Instructions public: Instructions(llvm::Module *mod, llvm::Function *func, llvm::BasicBlock *block); + llvm::Value *abs(llvm::Value *in1); llvm::Value *add(llvm::Value *in1, llvm::Value *in2); + 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); llvm::Value *dph(llvm::Value *in1, llvm::Value *in2); |