diff options
Diffstat (limited to 'source/slang/ir-legalize-types.cpp')
| -rw-r--r-- | source/slang/ir-legalize-types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/ir-legalize-types.cpp b/source/slang/ir-legalize-types.cpp index 37df5f698..7fad2ccc5 100644 --- a/source/slang/ir-legalize-types.cpp +++ b/source/slang/ir-legalize-types.cpp @@ -1620,6 +1620,8 @@ static LegalVal declareSimpleVar( // well as all the offset information that has accumulated // along the chain of parent variables. + // TODO: this logic needs to propagate through semantics... + varLayout = new VarLayout(); varLayout->typeLayout = typeLayout; |
