summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/storage.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-26 19:53:53 -0400
committerKeith Whitwell <[email protected]>2007-10-29 16:14:10 +0000
commitabe8cd19171def0de000e58b9f71c43adf4c6336 (patch)
tree2bbcc9314b0c11c97817d2655e7f6110cced6d13 /src/mesa/pipe/llvm/storage.h
parent3b25ce9eca9643a7a008735ec69c4e7ffddbe742 (diff)
Make sure the swizzling vector is being recreated for each function. This makes
GLSL bricks work.
Diffstat (limited to 'src/mesa/pipe/llvm/storage.h')
-rw-r--r--src/mesa/pipe/llvm/storage.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/pipe/llvm/storage.h b/src/mesa/pipe/llvm/storage.h
index eeadaa0506a..ac3e4d5af97 100644
--- a/src/mesa/pipe/llvm/storage.h
+++ b/src/mesa/pipe/llvm/storage.h
@@ -106,11 +106,6 @@ private:
llvm::VectorType *m_floatVecType;
llvm::VectorType *m_intVecType;
- llvm::Value *m_undefFloatVec;
- llvm::Value *m_undefIntVec;
-
- llvm::Value *m_extSwizzleVec;
-
char m_name[32];
int m_idx;
@@ -118,6 +113,10 @@ private:
std::map<int, bool > m_destWriteMap;
+ llvm::Value *m_undefFloatVec;
+ llvm::Value *m_undefIntVec;
+ llvm::Value *m_extSwizzleVec;
+
struct Args {
llvm::Value *out;
llvm::Value *in;