diff options
Diffstat (limited to 'source/slang/slang-ir.cpp')
| -rw-r--r-- | source/slang/slang-ir.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index a8f42c326..4f33e08ee 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -2120,6 +2120,13 @@ namespace Slang return getType(op, 0, nullptr); } + IRType* IRBuilder::getType( + IROp op, + IRInst* operand0) + { + return getType(op, 1, &operand0); + } + IRBasicType* IRBuilder::getBasicType(BaseType baseType) { return (IRBasicType*)getType( |
