mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
Make sure the swizzling vector is being recreated for each function. This makes
GLSL bricks work.
This commit is contained in:
parent
3b25ce9eca
commit
abe8cd1917
2 changed files with 5 additions and 5 deletions
|
|
@ -383,6 +383,7 @@ void Storage::pushTemps()
|
|||
}
|
||||
++i;
|
||||
}
|
||||
m_extSwizzleVec = 0;
|
||||
}
|
||||
|
||||
void Storage::popTemps()
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue