diff options
| -rw-r--r-- | source/slang/slang-ir.h | 2 |
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); } |
