summaryrefslogtreecommitdiffstats
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.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;