SPIRV-Cross/reference/opt/shaders-msl/comp
Chip Davis fedbc35315 MSL: Support inline uniform blocks in argument buffers.
Here, the inline uniform block is explicit: we instantiate the buffer
block itself in the argument buffer, instead of a pointer to the buffer.
I just hope this will work with the `MTLArgumentDescriptor` API...

Note that Metal recursively assigns individual members of embedded
structs IDs. This means for automatic assignment that we have to
calculate the binding stride for a given buffer block. For MoltenVK,
we'll simply increment the ID by the size of the inline uniform block.
Then the later IDs will never conflict with the inline uniform block. We
can get away with this because Metal doesn't require that IDs be
contiguous, only monotonically increasing.
2020-01-24 18:51:24 -06: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: Support inline uniform blocks in argument buffers. 2020-01-24 18:51:24 -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-construct.comp MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
copy-array-of-arrays.comp Update for pull request #1162 rev. 1 2019-09-24 18:13:04 -04: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: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +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