From 53e891eb28ceac5f956399c65f2ae27d37f3d724 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 7 Dec 2022 13:42:48 -0800 Subject: Rename IR opcodes to unify style. (#2556) Co-authored-by: Yong He --- source/slang/slang-emit-cuda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-emit-cuda.cpp') diff --git a/source/slang/slang-emit-cuda.cpp b/source/slang/slang-emit-cuda.cpp index 24462594f..284652682 100644 --- a/source/slang/slang-emit-cuda.cpp +++ b/source/slang/slang-emit-cuda.cpp @@ -529,7 +529,7 @@ void CUDASourceEmitter::_emitInitializerListValue(IRType* dstType, IRInst* value switch (value->getOp()) { case kIROp_MakeMatrix: - case kIROp_makeVector: + case kIROp_MakeVector: { IRType* type = value->getDataType(); @@ -714,7 +714,7 @@ bool CUDASourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu } break; } - case kIROp_makeArray: + case kIROp_MakeArray: { IRType* dataType = inst->getDataType(); IRArrayType* arrayType = as(dataType); -- cgit v1.2.3