summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-reflection-api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-reflection-api.cpp')
-rw-r--r--source/slang/slang-reflection-api.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-reflection-api.cpp b/source/slang/slang-reflection-api.cpp
index cd141a622..2031b4a0f 100644
--- a/source/slang/slang-reflection-api.cpp
+++ b/source/slang/slang-reflection-api.cpp
@@ -1152,6 +1152,10 @@ namespace Slang
{
return SLANG_BINDING_TYPE_SAMPLER;
}
+ else if (as<ParameterBlockType>(type))
+ {
+ return SLANG_BINDING_TYPE_PARAMETER_BLOCK;
+ }
else
{
return SLANG_BINDING_TYPE_UNKNOWN;