dawn-cmake/test/ptr_ref/load/local
Ben Clayton 165512c57e writer/hlsl: Emit UBO as an array of vector
Instead of a ConstantBuffer.

HLSL requires that each structure field in a UBO is 16 byte aligned.
WGSL has much looser constraints with its UBO field alignment rules.

Instead generate an array of uint4 vectors, and index into this, much
like we index into [RW]ByteAddressBuffers for SSBOs.

Extend the DecomposeStorageAccess transform to support uniforms too.
This has been renamed to DecomposeMemoryAccess.

Change-Id: I3868ff80af1ab3b3dddfbf5b969724cb87ef0744
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55246
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-06-18 21:15:25 +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: Set workgroup size, but not specializable 2021-06-17 22:40:43 +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 transform/msl: Run InlinePointerLets and Simplify 2021-06-18 09:47:23 +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 transform/msl: Run InlinePointerLets and Simplify 2021-06-18 09:47:23 +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 transform/msl: Run InlinePointerLets and Simplify 2021-06-18 09:47:23 +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: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
ptr_uniform.wgsl.expected.msl transform/msl: Run InlinePointerLets and Simplify 2021-06-18 09:47:23 +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 transform/msl: Run InlinePointerLets and Simplify 2021-06-18 09:47:23 +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: Set workgroup size, but not specializable 2021-06-17 22:40:43 +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