SPIRV-Cross/reference/shaders-msl/comp
Chip Davis 21d38f74ce MSL: Fix calculation of atomic image buffer address.
Fix reversed coordinates: `y` should be used to calculate the row
address. Align row address to the row stride.

I've made the row alignment a function constant; this makes it possible
to override it at pipeline compile time.

Honestly, I don't know how this worked at all for Epic. It definitely
didn't work in the CTS prior to this.
2020-10-13 20:51:56 -05: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 tests for array copies in and out of buffers. 2020-06-18 11:59:02 +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 MSL: Declare arrays with proper type wrapper. 2019-10-26 17:57:34 +02:00
copy-array-of-arrays.force-native-array.comp MSL: Add tests for array copies in and out of buffers. 2020-06-18 11:59:02 +02: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.argument.msl2.comp MSL: Fix calculation of atomic image buffer address. 2020-10-13 20:51:56 -05:00
image-atomic-automatic-bindings.comp MSL: Fix calculation of atomic image buffer address. 2020-10-13 20:51:56 -05: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: Workaround broken vector -> scalar access chain in MSL. 2020-07-06 10:03:44 +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 Fix #1445: MSL: Enclose args when convert distance(a,b) to abs(a-b) 2020-08-13 21:16:08 +08: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 emit swizzled writes in packing fixups. 2020-07-06 10:03:46 +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: Avoid packed arrays in more cases. 2020-05-06 10:27:12 +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