summaryrefslogtreecommitdiffstats
path: root/source/slang/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir.cpp')
-rw-r--r--source/slang/ir.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp
index 02a6e9f6a..48716bd87 100644
--- a/source/slang/ir.cpp
+++ b/source/slang/ir.cpp
@@ -1911,6 +1911,14 @@ namespace Slang
return emitIntrinsicInst(type, kIROp_makeVector, argCount, args);
}
+ IRInst* IRBuilder::emitMakeMatrix(
+ IRType* type,
+ UInt argCount,
+ IRInst* const* args)
+ {
+ return emitIntrinsicInst(type, kIROp_MakeMatrix, argCount, args);
+ }
+
IRInst* IRBuilder::emitMakeArray(
IRType* type,
UInt argCount,
@@ -3855,7 +3863,7 @@ namespace Slang
case kIROp_lookup_interface_method:
case kIROp_Construct:
case kIROp_makeVector:
- case kIROp_makeMatrix:
+ case kIROp_MakeMatrix:
case kIROp_makeArray:
case kIROp_makeStruct:
case kIROp_Load: // We are ignoring the possibility of loads from bad addresses, or `volatile` loads