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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp
index 6a7564e67..3314567f1 100644
--- a/source/slang/slang-ir.cpp
+++ b/source/slang/slang-ir.cpp
@@ -2678,6 +2678,11 @@ IRBasicType* IRBuilder::getUInt8Type()
return (IRBasicType*)getType(kIROp_UInt8Type);
}
+IRBasicType* IRBuilder::getFloatType()
+{
+ return (IRBasicType*)getType(kIROp_FloatType);
+}
+
IRBasicType* IRBuilder::getCharType()
{
return (IRBasicType*)getType(kIROp_CharType);