dawn-cmake/test/tint/access/let
Ben Clayton c1cb9dc1a5 tint/resolver: Evaluate constant index accessors
If the object and index are both constant expressions, resolve the
index as a constant.

Note: Expectations have been updated for indexing on 'let's. Once
'const' is introduced, 'let' will no longer be treated as a constant
expression, and these expectations will be reverted.

Bug: tint:1580
Change-Id: I42793d36c1a5f82890ccaa5dbbb71b4346493bef
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94329
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-06-23 15:46:54 +00:00
..
matrix.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
matrix.spvasm.expected.glsl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.spvasm.expected.hlsl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.spvasm.expected.msl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
matrix.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
matrix.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
matrix.wgsl.expected.glsl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.wgsl.expected.hlsl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.wgsl.expected.msl tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.wgsl.expected.spvasm tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
matrix.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
vector.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.spvasm.expected.glsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.spvasm.expected.hlsl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.spvasm.expected.msl tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.spvasm.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.spvasm.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
vector.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
vector.wgsl.expected.glsl tint/writer/glsl: Inline constant expressions 2022-06-01 01:11:59 +00:00
vector.wgsl.expected.hlsl tint/writer/hlsl: Inline constant expressions 2022-06-01 13:14:39 +00:00
vector.wgsl.expected.msl tint/writer/msl: Inline constant expressions 2022-06-01 10:08:29 +00:00
vector.wgsl.expected.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
vector.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00