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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-ir-specialize-resources.cpp b/source/slang/slang-ir-specialize-resources.cpp
index 2aafaaf31..871ba2c24 100644
--- a/source/slang/slang-ir-specialize-resources.cpp
+++ b/source/slang/slang-ir-specialize-resources.cpp
@@ -1359,6 +1359,10 @@ bool isIllegalGLSLParameterType(IRType* type)
return true;
if (as<IRDynamicResourceType>(type))
return true;
+ if (as<IRHLSLInputPatchType>(type))
+ return true;
+ if (as<IRHLSLOutputPatchType>(type))
+ return true;
return false;
}