From f3b916ebe529abbc35a351b20b2c70129a193208 Mon Sep 17 00:00:00 2001 From: Darren Wihandi <65404740+fairywreath@users.noreply.github.com> Date: Tue, 31 Dec 2024 21:24:53 -0500 Subject: add missing IR_LEAF_ISA for MetalMeshType (#5975) Co-authored-by: Yong He --- source/slang/slang-ir.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') 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); } -- cgit v1.2.3