diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-reflection-json.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-reflection-json.cpp b/source/slang/slang-reflection-json.cpp index 993832ad6..4e8b6b2a4 100644 --- a/source/slang/slang-reflection-json.cpp +++ b/source/slang/slang-reflection-json.cpp @@ -514,6 +514,10 @@ static void emitReflectionTypeInfoJSON(PrettyWriter& writer, slang::TypeReflecti break; case SLANG_STRUCTURED_BUFFER: + case SLANG_TEXTURE_1D: + case SLANG_TEXTURE_2D: + case SLANG_TEXTURE_3D: + case SLANG_TEXTURE_CUBE: if (auto resultType = type->getResourceResultType()) { writer.maybeComma(); |
