diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-10-24 08:32:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-24 08:32:01 -0700 |
| commit | 4fd0448d7341e57e355d4414ca60e786001d40a9 (patch) | |
| tree | a7e7438c8012de983b911fa135ff9c9da6131333 /source/slang/slang-emit-hlsl.cpp | |
| parent | 73dcec672a2be0082945b71fc7848d9be0233f56 (diff) | |
Address review comments on IR layout PR (#1091)
These were meant to be merged into #1084, but I failed to push the changes to the server.
Diffstat (limited to 'source/slang/slang-emit-hlsl.cpp')
| -rw-r--r-- | source/slang/slang-emit-hlsl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp index 9d2334dc3..240ef6ad0 100644 --- a/source/slang/slang-emit-hlsl.cpp +++ b/source/slang/slang-emit-hlsl.cpp @@ -648,13 +648,13 @@ void HLSLSourceEmitter::emitSemanticsImpl(IRInst* inst) auto layout = layoutDecoration->getLayout(); if (auto varLayout = as<IRVarLayout>(layout)) { - emitSemantics(varLayout); + emitSemanticsUsingVarLayout(varLayout); } else if (auto entryPointLayout = as<IREntryPointLayout>(layout)) { if (auto resultLayout = entryPointLayout->getResultLayout()) { - emitSemantics(resultLayout); + emitSemanticsUsingVarLayout(resultLayout); } } } |
