summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir.cpp')
-rw-r--r--source/slang/slang-ir.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp
index c0bec9654..cc095a0cb 100644
--- a/source/slang/slang-ir.cpp
+++ b/source/slang/slang-ir.cpp
@@ -2665,6 +2665,16 @@ namespace Slang
return (IRBasicType*)getType(kIROp_UInt64Type);
}
+ IRBasicType* IRBuilder::getUInt16Type()
+ {
+ return (IRBasicType*)getType(kIROp_UInt16Type);
+ }
+
+ IRBasicType* IRBuilder::getUInt8Type()
+ {
+ return (IRBasicType*)getType(kIROp_UInt8Type);
+ }
+
IRBasicType* IRBuilder::getCharType()
{
return (IRBasicType*)getType(kIROp_CharType);