diff options
Diffstat (limited to 'source/slang/ast-legalize.cpp')
| -rw-r--r-- | source/slang/ast-legalize.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/ast-legalize.cpp b/source/slang/ast-legalize.cpp index afc8b31c8..1b045cbc9 100644 --- a/source/slang/ast-legalize.cpp +++ b/source/slang/ast-legalize.cpp @@ -3309,6 +3309,7 @@ struct LoweringVisitor RefPtr<VarLayout> newFieldLayout = new VarLayout(); newFieldLayout->typeLayout = fieldLayout->typeLayout; newFieldLayout->flags = fieldLayout->flags; + newFieldLayout->stage = fieldLayout->stage; newFieldLayout->varDecl = fieldLayout->varDecl; newFieldLayout->systemValueSemantic = fieldLayout->systemValueSemantic; newFieldLayout->systemValueSemanticIndex = fieldLayout->systemValueSemanticIndex; |
