diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 19:26:09 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 19:26:09 -0400 |
commit | 5022ee43fc7916f16bdce8b076bad78fca262a62 (patch) | |
tree | 9668d9910f2699a9eb8fd49374e6aeacac4f992c /src/mesa/pipe/llvm/storage.h | |
parent | 1c5fec714d30c02d6d00d95215c2e302c4c65cc3 (diff) |
Make branching work :) Simply allow output variables as valid
operand inputs when they've been assigned already.
Diffstat (limited to 'src/mesa/pipe/llvm/storage.h')
-rw-r--r-- | src/mesa/pipe/llvm/storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/storage.h b/src/mesa/pipe/llvm/storage.h index 26b2579b07..dd5de35073 100644 --- a/src/mesa/pipe/llvm/storage.h +++ b/src/mesa/pipe/llvm/storage.h @@ -59,6 +59,7 @@ public: llvm::Constant *shuffleMask(int vec); llvm::Value *inputElement(int idx, llvm::Value *indIdx =0); llvm::Value *constElement(int idx, llvm::Value *indIdx =0); + llvm::Value *outputElement(int idx, llvm::Value *indIdx =0); llvm::Value *tempElement(int idx); void setTempElement(int idx, llvm::Value *val, int mask); |