dawn-cmake/test/tint/statements/increment
Ben Clayton 32cb9cf2f8 tint/writer: Disable constant inlining for lets
Once 'const' is introduced, let will no longer resolve to a
creation-time constant value.

Add temporary code into each of the writers to prevent constants that
originate from a 'let' from being inlined. This will reduce the amount
of noise in later CLs.

Bug: tint:1580
Change-Id: Id3493a43ac09fe9f042ff2d517d04b2ae854d43e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94541
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-06-24 18:15:39 +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 Add support for increment/decrement statements 2022-04-07 13:42:45 +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