dawn-cmake/test/samples
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
..
compute_boids.wgsl wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
compute_boids.wgsl.expected.hlsl writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
compute_boids.wgsl.expected.msl Add transform/WrapArraysInStructs 2021-06-16 09:19:36 +00:00
compute_boids.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
compute_boids.wgsl.expected.wgsl wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
cube.wgsl test: Move misc sample shaders to test/samples 2021-05-18 08:51:48 +00:00
cube.wgsl.expected.hlsl writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
cube.wgsl.expected.msl writer/msl: Emit field designators for structures 2021-06-03 18:12:15 +00:00
cube.wgsl.expected.spvasm Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
cube.wgsl.expected.wgsl test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
function.wgsl test: Move misc sample shaders to test/samples 2021-05-18 08:51:48 +00:00
function.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
function.wgsl.expected.msl test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
function.wgsl.expected.spvasm test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
function.wgsl.expected.wgsl ast: Support non-literal workgroup_size parameters 2021-05-19 13:40:08 +00:00
simple.wgsl test: Move misc sample shaders to test/samples 2021-05-18 08:51:48 +00:00
simple.wgsl.expected.hlsl writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
simple.wgsl.expected.msl writer/msl: Emit field designators for structures 2021-06-03 18:12:15 +00:00
simple.wgsl.expected.spvasm test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
simple.wgsl.expected.wgsl test: Generate expected output for all tests 2021-05-18 09:24:18 +00:00
simple_vertex.spvasm test: Move misc sample shaders to test/samples 2021-05-18 08:51:48 +00:00
simple_vertex.spvasm.expected.hlsl test: Generate HLSL expected case that now passes 2021-06-17 14:23:05 +00:00
simple_vertex.spvasm.expected.msl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
simple_vertex.spvasm.expected.spvasm spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
simple_vertex.spvasm.expected.wgsl spirv-reader: switch to HLSL-style pipeline IO 2021-06-17 09:10:04 +00:00
triangle.wgsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
triangle.wgsl.expected.hlsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
triangle.wgsl.expected.msl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
triangle.wgsl.expected.spvasm transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00
triangle.wgsl.expected.wgsl transform: remove VarForDynamicIndex transform. 2021-06-16 17:42:53 +00:00