dawn-cmake/test/tint/buffer/uniform/std140/struct
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
..
mat2x2_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat2x2_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat2x3_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat2x3_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat2x4_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat2x4_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x2_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x2_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x3_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x3_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x4_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat3x4_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x2_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x2_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x3_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x3_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x4_f16 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00
mat4x4_f32 tint: Add PreservePadding transform 2022-12-06 18:32:19 +00:00