summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-specialize-resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-specialize-resources.cpp')
-rw-r--r--source/slang/slang-ir-specialize-resources.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-ir-specialize-resources.cpp b/source/slang/slang-ir-specialize-resources.cpp
index 419477790..c4be278df 100644
--- a/source/slang/slang-ir-specialize-resources.cpp
+++ b/source/slang/slang-ir-specialize-resources.cpp
@@ -1246,6 +1246,8 @@ bool isIllegalGLSLParameterType(IRType* type)
return true;
if (as<IRHLSLStreamOutputType>(type))
return true;
+ if (as<IRDynamicResourceType>(type))
+ return true;
return false;
}