dawn-cmake/test/tint/statements/increment
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
..
array_element.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
array_element.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
array_element.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
array_element.wgsl.expected.msl tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00
array_element.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
array_element.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
complex.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
complex.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
complex.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
complex.wgsl.expected.msl tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00
complex.wgsl.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
complex.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl.expected.msl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_continuing.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl.expected.msl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
for_loop_initializer.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
function.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
function.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
function.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
function.wgsl.expected.msl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
function.wgsl.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
function.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
private.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
private.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
private.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
private.wgsl.expected.msl msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
private.wgsl.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
private.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl.expected.msl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
storage.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
vector_component.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
vector_component.wgsl.expected.glsl tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
vector_component.wgsl.expected.hlsl tint/writer/hlsl: Inline constant expressions 2022-06-01 13:14:39 +00:00
vector_component.wgsl.expected.msl tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
vector_component.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
vector_component.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl.expected.glsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl.expected.hlsl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl.expected.msl Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl.expected.spvasm Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00
workgroup.wgsl.expected.wgsl wgsl: Add support for increment/decrement statements 2022-04-07 13:42:45 +00:00