SPIRV-Cross/reference/shaders-msl/comp
Hans-Kristian Arntzen 17ad62eea4 MSL: Support edge case with DX layout in scalar block layout.
DX may emit ArrayStride and MatrixStride of 16, but the size of the
object does not align with that and expect to pack other members inside
its last member.

The workaround is to emit array size/col/row one less than we expect and
rely on padding to carve out a "dead zone" for the last member.
2020-04-20 15:29:24 +02:00
..
access-private-workgroup-in-function.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
argument-buffers-discrete.msl2.argument.discrete.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
argument-buffers-image-load-store.ios.msl2.argument.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
argument-buffers-image-load-store.msl2.argument.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
array-length.comp MSL: Do not declare array of UBO/SSBO as spvUnsafeArray<T>. 2019-10-26 16:10:08 +02:00
array-length.msl2.argument.discrete.comp MSL: Do not declare array of UBO/SSBO as spvUnsafeArray<T>. 2019-10-26 16:10:08 +02:00
atomic.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
barriers.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
basic.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
basic.dispatchbase.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
basic.dispatchbase.msl11.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
basic.inline-block.msl2.comp MSL: Move inline uniform blocks to the end of the argument buffer. 2020-01-25 13:40:51 -06:00
builtins.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
cfg-preserve-parameter.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
coherent-block.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
coherent-image.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
complex-composite-constant-array.comp MSL: Do not declare complex composite array in main for non-inlined. 2019-10-24 11:12:01 +02:00
complex-type-alias.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
composite-array-initialization.comp MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
composite-array-initialization.force-native-array.comp MSL: Add native array test for composite array initialization. 2020-02-24 13:34:51 +01:00
composite-construct.comp MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
copy-array-of-arrays.comp MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
copy-array-of-arrays.force-native-array.comp MSL: Reinstate workaround for returning arrays. 2020-02-24 13:04:10 +01:00
culling.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
defer-parens.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
dowhile.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
force-recompile-hooks.swizzle.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
functions.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00
global-invocation-id-writable-ssbo-in-function.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
global-invocation-id.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
image-atomic-automatic-bindings.comp MSL: Fix automatic binding allocation for image atomic buffers. 2019-11-28 11:07:44 +01:00
image-cube-array-load-store.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
image.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
insert.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
inverse.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
local-invocation-id.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
local-invocation-index.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
mat3.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
mod.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
modf.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
outer-product.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
packing-test-1.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
packing-test-2.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
read-write-only.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
rmw-matrix.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
rmw-opt.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
scalar-std450-distance-length-normalize.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04:00
shared-array-of-arrays.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
shared.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
spec-constant-op-member-array.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
spec-constant-work-group-size.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
storage-buffer-std140-vector-array.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
struct-layout.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
struct-nested.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
struct-packing.comp MSL: Support edge case with DX layout in scalar block layout. 2020-04-20 15:29:24 +02:00
torture-loop.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
type-alias.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
udiv.comp MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
writable-ssbo.comp Updates for pull request #1162 2019-09-24 14:35:25 -04:00