From cd20e94af9f384c03e8be69f6c8ce9e97212cc9b Mon Sep 17 00:00:00 2001 From: Devon Date: Thu, 27 Feb 2025 18:52:14 -0700 Subject: Add inner texture type to reflection json (#6416) * Add inner texture type to reflection json * Add expected result of test * Adjust test expected results * Fix ci test result --------- Co-authored-by: Yong He --- source/slang/slang-reflection-json.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source') 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(); -- cgit v1.2.3