dawn-cmake/test/tint/expressions
Ben Clayton 03f88e6f49 test/tint/expressions/type_ctor: Use 'var' instead of 'let'
Module-scope 'let' is getting replaced by 'const'. For all backends,
'const' will be inlined into the place of usage, making most of these
tests produce no output (if replaced with 'const'). Instead switch to
emitting with 'var'.

Bug: tint:1580
Change-Id: Ied5ddf9cdb7fbd3cef8e7b0c6f4983748aaa3d07
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94688
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-06-29 00:51:46 +00:00
..
binary tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
bitcast tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
index tint/writer: Disable constant inlining for lets 2022-06-24 18:15:39 +00:00
literals Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
splat tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
swizzle msl: Promote local private vars to function scope 2022-06-28 02:06:05 +00:00
type_ctor test/tint/expressions/type_ctor: Use 'var' instead of 'let' 2022-06-29 00:51:46 +00:00
unary tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
zero_init tint/writer/msl: Generate an array<T,N> helper 2022-06-24 17:01:59 +00:00