dawn-cmake/test/ptr_ref/load/local
Ben Clayton ed86bf99b0 Add transform::Simplify
Performs basic peephole optimizations on the AST.

Use in transform::Hlsl.

Required to have the DecomposeStorageAccess transform operate correctly with the output of InlinePointerLets transform, specifically when declaring `let` pointer expressions to storage buffers.

Fixed: tint:221
Fixed: tint:492
Fixed: tint:829
Change-Id: I536390921a6492378104e9c3c100d9e761294a27
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51921
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: David Neto <dneto@google.com>
2021-05-21 21:01:23 +00:00
..
i32.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.hlsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.hlsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
ptr_function.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_function.wgsl.expected.hlsl writer/hlsl: Fix continuing block emission 2021-05-20 21:31:37 +00:00
ptr_function.wgsl.expected.msl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_function.wgsl.expected.spvasm writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_function.wgsl.expected.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_private.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_private.wgsl.expected.hlsl writer/hlsl: Fix continuing block emission 2021-05-20 21:31:37 +00:00
ptr_private.wgsl.expected.msl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_private.wgsl.expected.spvasm writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_private.wgsl.expected.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_storage.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_storage.wgsl.expected.hlsl Add transform::Simplify 2021-05-21 21:01:23 +00:00
ptr_storage.wgsl.expected.msl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_storage.wgsl.expected.spvasm writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_storage.wgsl.expected.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_uniform.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_uniform.wgsl.expected.hlsl writer/hlsl: Fix continuing block emission 2021-05-20 21:31:37 +00:00
ptr_uniform.wgsl.expected.msl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_uniform.wgsl.expected.spvasm writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_uniform.wgsl.expected.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_workgroup.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_workgroup.wgsl.expected.hlsl writer/hlsl: Fix continuing block emission 2021-05-20 21:31:37 +00:00
ptr_workgroup.wgsl.expected.msl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_workgroup.wgsl.expected.spvasm writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
ptr_workgroup.wgsl.expected.wgsl writer/msl: Generate address spaces for pointers 2021-05-19 10:38:18 +00:00
struct_field.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.hlsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.spvasm.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl.expected.hlsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl.expected.msl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl.expected.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl.expected.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00