dawn-cmake/test
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
..
access spirv-reader: Set workgroup size, but not specializable 2021-06-17 22:40:43 +00:00
array writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
bug/tint writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
expressions Implement bitwise complement operator 2021-06-17 08:35:54 +00:00
intrinsics writer/spirv: Implement atomics 2021-06-18 21:15:25 +00:00
ptr_ref writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
samples writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
shader_io writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
struct writer/hlsl: Use the WrapArraysInStructs transform 2021-06-16 09:19:36 +00:00
types Validate scalar constructor and implement conversion to vecN<bool> in spir-v backend 2021-06-18 15:32:21 +00:00
var writer/hlsl: Use the WrapArraysInStructs transform 2021-06-16 09:19:36 +00:00
BUILD.gn writer/hlsl: Emit UBO as an array of vector 2021-06-18 21:15:25 +00:00
extract-spvasm.py Add --dump-spirv option to tint_unittests 2021-05-05 09:46:31 +00:00
test-all.sh main: Replace --dawn-validation with --validate 2021-06-02 21:02:34 +00:00