summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-util.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-05-30 16:47:39 -0700
committerGitHub <noreply@github.com>2024-05-30 16:47:39 -0700
commitfebbeb140bea65180ff4be9b164207c582235d4d (patch)
tree06a25bfdd3dc22c584d9bb9343bf979d5ee7a3dc /source/slang/slang-ir-util.cpp
parent66252cb316b26beb86b7c2b5fce2dacdcd2cf659 (diff)
Support SPIR-V DebugTypePointer (#4228)
Diffstat (limited to 'source/slang/slang-ir-util.cpp')
-rw-r--r--source/slang/slang-ir-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp
index 967db3aff..40d169c48 100644
--- a/source/slang/slang-ir-util.cpp
+++ b/source/slang/slang-ir-util.cpp
@@ -227,10 +227,10 @@ bool isSimpleDataType(IRType* type)
case kIROp_MatrixType:
case kIROp_InterfaceType:
case kIROp_AnyValueType:
+ case kIROp_PtrType:
return true;
case kIROp_ArrayType:
case kIROp_UnsizedArrayType:
- case kIROp_PtrType:
return isSimpleDataType((IRType*)type->getOperand(0));
default:
return false;