dawn-cmake/test/tint/layout/storage/mat2x2/stride
James Price 8753796aac tint: Add PreservePadding transform
This is used to ensure that assignments to host-visible memory do not
modify padding bytes in structures and arrays. We decompose
assignments of whole structure and array types into member-wise or
element-wise copies, using helper functions.

This is used in all backends except HLSL, which already decomposes
memory accesses.

Bug: tint:1571
Change-Id: Id6de2f917fb80151cc654a7e1c8413ae956f0d61
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/112720
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
2022-12-06 18:32:19 +00:00
..
16.spvasm tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
16.spvasm.expected.dxc.hlsl tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
16.spvasm.expected.fxc.hlsl tint/hlsl: remove [loop] attribute on all loops 2022-09-29 16:53:58 +00:00
16.spvasm.expected.glsl tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
16.spvasm.expected.msl tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
16.spvasm.expected.spvasm tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
16.spvasm.expected.wgsl tint/writer/wgsl: Print @offset attributes as comment 2022-12-01 17:37:56 +00:00