From 216fc18661fd6e05053b4cc864396e6017e85b04 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 16 Aug 2023 22:47:35 -0700 Subject: Create storage types of different layouts for SPIRV emit. (#3116) * Create storage types of different layouts for SPIRV emit. * Fix. * Fix. * Fix. * Update expected failure list. --------- Co-authored-by: Yong He --- source/slang/slang-emit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-emit.cpp') diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 4b95ca9c8..82f2a8fd3 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -859,7 +859,7 @@ Result linkAndOptimizeIR( legalizeMeshOutputTypes(irModule); // We need to lower any types used in a buffer resource (e.g. ContantBuffer or StructuredBuffer) into - // a simple storage type that has target independent layout. + // a simple storage type that has target independent layout based on the kind of buffer resource. lowerBufferElementTypeToStorageType(targetRequest, irModule); // Rewrite functions that return arrays to return them via `out` parameter, -- cgit v1.2.3