summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2024-12-31 21:24:53 -0500
committerGitHub <noreply@github.com>2024-12-31 18:24:53 -0800
commitf3b916ebe529abbc35a351b20b2c70129a193208 (patch)
tree281bd00682bc2689a6b8d5f8ed51194be3224dcd /source
parent075e6c25826cd0a1df26bd36af4afe865673a790 (diff)
add missing IR_LEAF_ISA for MetalMeshType (#5975)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-ir.h b/source/slang/slang-ir.h
index d24c2d12b..b70c4e054 100644
--- a/source/slang/slang-ir.h
+++ b/source/slang/slang-ir.h
@@ -1563,6 +1563,8 @@ SIMPLE_IR_TYPE(PrimitivesType, MeshOutputType)
struct IRMetalMeshType : IRType
{
+ IR_LEAF_ISA(MetalMeshType);
+
IRType* getVerticesType() { return (IRType*)getOperand(0); }
IRType* getPrimitivesType() { return (IRType*)getOperand(1); }
IRInst* getNumVertices() { return (IRInst*)getOperand(2); }