From 4fd0448d7341e57e355d4414ca60e786001d40a9 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 24 Oct 2019 08:32:01 -0700 Subject: 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. --- source/slang/slang-emit-hlsl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-emit-hlsl.cpp') 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(layout)) { - emitSemantics(varLayout); + emitSemanticsUsingVarLayout(varLayout); } else if (auto entryPointLayout = as(layout)) { if (auto resultLayout = entryPointLayout->getResultLayout()) { - emitSemantics(resultLayout); + emitSemanticsUsingVarLayout(resultLayout); } } } -- cgit v1.2.3