SPIRV-Cross/reference/shaders-msl
Chip Davis e5fa7edfd6 MSL: Support scalar block layout.
Relaxed block layout relaxed the restrictions on vector alignment,
allowing them to be aligned on scalar boundaries. Scalar block layout
relaxes this further, allowing *any* member to be aligned on a scalar
boundary. The requirement that a vector not improperly straddle a
16-byte boundary is also relaxed.

I've also added a test showing that `std430` layout works with UBOs.

I'm troubled by the dual meaning of the `Packed` extended decoration. In
some instances (struct, `float[]`, and `vec2[]` members), it actually
means the exact opposite, that the member needs extra padding. This is
especially problematic for `vec2[]`, because now we need to distinguish
the two cases by checking the array stride. I wonder if this should
actually be split into two decorations.
2019-07-09 20:59:32 -05:00
..
asm Handle more cases with FP16 and texture sampling. 2019-06-27 15:04:22 +02:00
comp MSL/HLSL: Support OpOuterProduct. 2019-07-01 10:57:27 +02:00
desktop-only MSL: Rewrite how resource indices are fallback-assigned. 2019-06-21 12:54:08 +02:00
flatten MSL: Rewrite how resource indices are fallback-assigned. 2019-06-21 12:54:08 +02:00
frag Fall back to complex loop if non-trivial continue block is found. 2019-07-08 11:54:29 +02:00
legacy/vert CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
tesc Fix tests for device->constant address space change in MSL tessellation control shader generation. 2019-04-10 18:37:04 +01:00
tese MSL: Rewrite how resource indices are fallback-assigned. 2019-06-21 12:54:08 +02:00
vert MSL: Rewrite how resource indices are fallback-assigned. 2019-06-21 12:54:08 +02:00
vulkan MSL: Support scalar block layout. 2019-07-09 20:59:32 -05:00