summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-util.cpp')
-rw-r--r--source/slang/slang-ir-util.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp
index 817c10ec2..c4fc60bd2 100644
--- a/source/slang/slang-ir-util.cpp
+++ b/source/slang/slang-ir-util.cpp
@@ -244,6 +244,14 @@ bool isSimpleDataType(IRType* type)
}
}
+bool isSimpleHLSLDataType(IRInst* inst)
+{
+ // TODO: Add criteria
+ // https://github.com/shader-slang/slang/issues/4792
+ SLANG_UNUSED(inst);
+ return true;
+}
+
SourceLoc findFirstUseLoc(IRInst* inst)
{
for (auto use = inst->firstUse; use; use = use->nextUse)