summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-glsl.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-12-07 13:42:48 -0800
committerGitHub <noreply@github.com>2022-12-07 13:42:48 -0800
commit53e891eb28ceac5f956399c65f2ae27d37f3d724 (patch)
tree4094efab488289f7e5ea7ad4dde9d45525ff03be /source/slang/slang-emit-glsl.cpp
parent70714705747f3491c55e14b74f87641010351d6c (diff)
Rename IR opcodes to unify style. (#2556)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
-rw-r--r--source/slang/slang-emit-glsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp
index 02e633f98..6dbeba204 100644
--- a/source/slang/slang-emit-glsl.cpp
+++ b/source/slang/slang-emit-glsl.cpp
@@ -1474,7 +1474,7 @@ bool GLSLSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu
{
switch (inst->getOp())
{
- case kIROp_constructVectorFromScalar:
+ case kIROp_MakeVectorFromScalar:
{
// Simple constructor call
EmitOpInfo outerPrec = inOuterPrec;