dawn-cmake/test/ptr_ref/load/local
David Neto 1e19b55d19 spirv-reader: switch to HLSL-style pipeline IO
- When storing to sample_mask output, write to the 0th element
- Only make a return struct if it has members
- Adjust type signedness coercion when loading special builtins.
- Adapt tests

- Update expectations for end-to-end tests

- Handle sample_mask with stride
  Input variables normally don't have layout. But they can have it
  up through SPIR-V 1.4.
  Handle this case in the SPIR-V reader, by seeing through the
  intermediate alias type created for the strided array type.

Bug: tint:508
Change-Id: I0f19dc1305d3f250dbbc0698a602288c34245274
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54743
Auto-Submit: David Neto <dneto@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-06-17 09:10:04 +00:00
..
i32.spvasm Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.spvasm.expected.hlsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
i32.spvasm.expected.msl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
i32.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
i32.spvasm.expected.wgsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
i32.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
i32.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +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: Simplify emission logic, clean up output 2021-06-16 09:19:36 +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 transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +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: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ptr_private.wgsl.expected.msl writer/msl: Avoid generating unnecessary pointers 2021-06-11 12:29:56 +00:00
ptr_private.wgsl.expected.spvasm transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +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 Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
ptr_storage.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +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 transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +00:00
ptr_storage.wgsl.expected.wgsl wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +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: Generate padding for UBO padded structs 2021-06-16 09:50:11 +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 transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +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: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
ptr_workgroup.wgsl.expected.msl writer/msl: Avoid generating unnecessary pointers 2021-06-11 12:29:56 +00:00
ptr_workgroup.wgsl.expected.spvasm transform/spirv: Use InlinePointerLets & Simplify 2021-06-10 17:34:44 +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 spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
struct_field.spvasm.expected.msl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
struct_field.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
struct_field.spvasm.expected.wgsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
struct_field.wgsl Implement Pointers and References 2021-05-18 10:28:48 +00:00
struct_field.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +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