dawn-cmake/test/tint
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
..
access tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
array Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
benchmark Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
buffer Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
bug tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
builtins tint: spir-v reader: fix atomicCompareExchangeWeak with var comparator 2022-06-23 13:14:54 +00:00
expressions tint/resolver: Evaluate constant index accessors 2022-06-23 15:46:54 +00:00
extensions/parsing Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
identifiers/underscore tint/writer/hlsl: Inline constant expressions 2022-06-01 13:14:39 +00:00
layout/storage/mat2x2 Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
let Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
loops Fixup continue support in while loops. 2022-06-16 15:27:38 +00:00
out_of_order_decls Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
ptr_ref Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
samples Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
shader_io Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
shadowing tint/writer/hlsl: Inline constant expressions 2022-06-01 13:14:39 +00:00
statements Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
struct Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
types Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
unicode Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
unittest/reader/spirv tint: Remove skips for tests that now pass latest DXC 2022-05-26 13:06:55 +00:00
var Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
vk-gl-cts Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00