Merge pull request #2729 from greg-lunarg/2725
Fix seperate stores to swizzled lvalue.
This commit is contained in:
commit
675bd38bfa
1 changed files with 1 additions and 0 deletions
|
|
@ -2812,6 +2812,7 @@ void Builder::accessChainStore(Id rvalue, Decoration nonUniform, spv::MemoryAcce
|
|||
accessChain.component == NoResult) {
|
||||
for (unsigned int i = 0; i < accessChain.swizzle.size(); ++i) {
|
||||
accessChain.indexChain.push_back(makeUintConstant(accessChain.swizzle[i]));
|
||||
accessChain.instr = NoResult;
|
||||
|
||||
Id base = collapseAccessChain();
|
||||
addDecoration(base, nonUniform);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue