summaryrefslogtreecommitdiffstats
path: root/source/slang/reflection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/reflection.cpp')
-rw-r--r--source/slang/reflection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/reflection.cpp b/source/slang/reflection.cpp
index b0be58274..708b98f2b 100644
--- a/source/slang/reflection.cpp
+++ b/source/slang/reflection.cpp
@@ -115,6 +115,10 @@ SLANG_API SlangTypeKind spReflectionType_GetKind(SlangReflectionType* inType)
{
return SLANG_TYPE_KIND_CONSTANT_BUFFER;
}
+ else if( auto streamOutputType = type->As<HLSLStreamOutputType>() )
+ {
+ return SLANG_TYPE_KIND_OUTPUT_STREAM;
+ }
else if (type->As<TextureBufferType>())
{
return SLANG_TYPE_KIND_TEXTURE_BUFFER;