dawn-cmake/test/tint/ptr_ref/load/global
dan sinclair 6c167a0dc7 msl: Promote local private vars to function scope
If a module-scope private variable is only referenced within a single
function, promote it to a function scope declaration instead of
passing it as a parameter. This reduces the number of a function
parameters that are needed in some cases.

Bug: tint:1509
Change-Id: I8951f6216bc7e4cf5abfda314bea1e9ed3ded560
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94002
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-28 02:06:05 +00:00
..
i32.spvasm
i32.spvasm.expected.glsl
i32.spvasm.expected.hlsl
i32.spvasm.expected.msl msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
i32.spvasm.expected.spvasm
i32.spvasm.expected.wgsl
i32.wgsl
i32.wgsl.expected.glsl
i32.wgsl.expected.hlsl
i32.wgsl.expected.msl
i32.wgsl.expected.spvasm
i32.wgsl.expected.wgsl
struct_field.spvasm
struct_field.spvasm.expected.glsl
struct_field.spvasm.expected.hlsl
struct_field.spvasm.expected.msl msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
struct_field.spvasm.expected.spvasm
struct_field.spvasm.expected.wgsl
struct_field.wgsl
struct_field.wgsl.expected.glsl
struct_field.wgsl.expected.hlsl
struct_field.wgsl.expected.msl
struct_field.wgsl.expected.spvasm
struct_field.wgsl.expected.wgsl