Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.)
This commit is contained in:
parent
dcab977055
commit
e0603a441e
17 changed files with 236 additions and 64 deletions
|
|
@ -2469,7 +2469,7 @@ spv::Id TGlslangToSpvTraverser::createSpvConstant(const glslang::TType& glslangT
|
|||
|
||||
if (glslangType.isArray()) {
|
||||
glslang::TType elementType;
|
||||
elementType.shallowCopy(glslangType); // TODO: desktop arrays of arrays functionality will need a deeper copy to avoid modifying the original
|
||||
elementType.deepCopy(glslangType);
|
||||
elementType.dereference();
|
||||
for (int i = 0; i < glslangType.getArraySize(); ++i)
|
||||
spvConsts.push_back(createSpvConstant(elementType, consts, nextConst));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue