summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-c-like.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-10-24 08:32:01 -0700
committerGitHub <noreply@github.com>2019-10-24 08:32:01 -0700
commit4fd0448d7341e57e355d4414ca60e786001d40a9 (patch)
treea7e7438c8012de983b911fa135ff9c9da6131333 /source/slang/slang-emit-c-like.cpp
parent73dcec672a2be0082945b71fc7848d9be0233f56 (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-c-like.cpp')
-rw-r--r--source/slang/slang-emit-c-like.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp
index a983a7a73..a84e398ac 100644
--- a/source/slang/slang-emit-c-like.cpp
+++ b/source/slang/slang-emit-c-like.cpp
@@ -2182,7 +2182,7 @@ void CLikeSourceEmitter::_emitInst(IRInst* inst)
}
}
-void CLikeSourceEmitter::emitSemantics(IRVarLayout* varLayout)
+void CLikeSourceEmitter::emitSemanticsUsingVarLayout(IRVarLayout* varLayout)
{
if(auto semanticAttr = varLayout->findAttr<IRSemanticAttr>())
{
@@ -2192,7 +2192,7 @@ void CLikeSourceEmitter::emitSemantics(IRVarLayout* varLayout)
//
// The original rationale for switching to uppercase was
// canonicalization for reflection (users can't accidentally
- // write code that works for `COLOR` but not for `COLOR`),
+ // write code that works for `COLOR` but not for `Color`),
// but it would probably be more ideal for our output code
// to give the semantic name as close to how it was originally spelled
// spelled as possible.