diff options
author | Zack Rusin <[email protected]> | 2007-10-29 11:42:22 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-10-30 05:15:05 -0400 |
commit | fd908ce234d1f553b59d65afb7e4243ffee24018 (patch) | |
tree | fcddc5e5d93a2c45d90d4bb31172e1a302d1aa94 /src/mesa/pipe/llvm/instructions.h | |
parent | b0f3b5910ebd0737600ab7b1fdc135d74f2617f4 (diff) |
Change the way we handle temporaries in LLVM translation.
TGSI uses TEMP, among others, as a way of passing arguments
from one function to another. Instead of trying to figure out
which temp's a function needs and trying to dynamically adjust its
signature just pass the whole array of temporaries to them.
Diffstat (limited to 'src/mesa/pipe/llvm/instructions.h')
-rw-r--r-- | src/mesa/pipe/llvm/instructions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/llvm/instructions.h b/src/mesa/pipe/llvm/instructions.h index 85feb1665db..8a1aed31815 100644 --- a/src/mesa/pipe/llvm/instructions.h +++ b/src/mesa/pipe/llvm/instructions.h @@ -61,7 +61,7 @@ public: void bgnSub(unsigned, Storage *); void brk(); void cal(int label, llvm::Value *out, llvm::Value *in, - llvm::Value *cst); + llvm::Value *cst, llvm::Value *tmp); 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); |