diff options
Diffstat (limited to 'source/slang/reflection.cpp')
| -rw-r--r-- | source/slang/reflection.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/reflection.cpp b/source/slang/reflection.cpp index a1ea3ff72..5962bce96 100644 --- a/source/slang/reflection.cpp +++ b/source/slang/reflection.cpp @@ -102,6 +102,10 @@ SLANG_API SlangTypeKind spReflectionType_GetKind(SlangReflectionType* inType) { return SLANG_TYPE_KIND_MATRIX; } + else if (auto parameterBlockType = type->As<ParameterBlockType>()) + { + return SLANG_TYPE_KIND_PARAMETER_BLOCK; + } else if (auto constantBufferType = type->As<ConstantBufferType>()) { return SLANG_TYPE_KIND_CONSTANT_BUFFER; |
