dawn-cmake/test/tint/ptr_ref/load/global
James Price 506b4f05d0 [spirv-reader] Use type inference for var and let
When an initializer is present, use type inference instead of
explicitly typing `var` and `let` declarations. This reduces the size
of the generated WGSL and improves readability.

Change-Id: I241ee2108279b550735945940f2b62bbbd493708
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132142
Commit-Queue: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: David Neto <dneto@google.com>
2023-05-23 18:28:44 +00:00
..
i32.spvasm
i32.spvasm.expected.dxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.spvasm.expected.fxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.spvasm.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.spvasm.expected.msl tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
i32.spvasm.expected.spvasm tint/writer/spirv: Inline constant expressions 2022-06-01 15:57:22 +00:00
i32.spvasm.expected.wgsl [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
i32.wgsl Sync reserved token list to WGSL spec. 2022-08-03 02:49:28 +00:00
i32.wgsl.expected.dxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.wgsl.expected.fxc.hlsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.wgsl.expected.glsl tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL 2022-09-19 14:05:21 +00:00
i32.wgsl.expected.msl tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
i32.wgsl.expected.spvasm
i32.wgsl.expected.wgsl Sync reserved token list to WGSL spec. 2022-08-03 02:49:28 +00:00
struct_field.spvasm
struct_field.spvasm.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
struct_field.spvasm.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
struct_field.spvasm.expected.glsl
struct_field.spvasm.expected.msl tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
struct_field.spvasm.expected.spvasm
struct_field.spvasm.expected.wgsl [spirv-reader] Use type inference for var and let 2023-05-23 18:28:44 +00:00
struct_field.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00
struct_field.wgsl.expected.dxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
struct_field.wgsl.expected.fxc.hlsl tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
struct_field.wgsl.expected.glsl
struct_field.wgsl.expected.msl tint/msl: Fix emission of private variables 2023-03-20 21:46:01 +00:00
struct_field.wgsl.expected.spvasm
struct_field.wgsl.expected.wgsl Update src/tint unittests to new @stage format. 2022-06-07 13:55:34 +00:00