SPIRV-Cross/shaders-msl-no-opt/packing
Hans-Kristian Arntzen fa5b206d97 MSL: Workaround broken vector -> scalar access chain in MSL.
On MSL, the compiler refuses to allow access chains into a normal vector type.
What happens in practice instead is a read-modify-write where a vector type is
loaded, modified and written back.

The workaround is to convert a vector into a pointer-to-scalar before
the access chain continues to add the scalar index.
2020-07-06 10:03:44 +02:00
..
array-of-vec3.comp Disabled spvUnsafeArray<> type for packed vectors and added test cases for those arrays. 2019-10-09 17:59:47 -04:00
array-of-vec4.comp Disabled spvUnsafeArray<> type for packed vectors and added test cases for those arrays. 2019-10-09 17:59:47 -04:00
isolated-scalar-access.comp MSL: Workaround broken vector -> scalar access chain in MSL. 2020-07-06 10:03:44 +02:00
load-store-col-rows.comp MSL: Fix unpack_expression from column of padded matrix. 2019-11-07 11:35:07 +01:00
matrix-2x2-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x2-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x2-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-2x3-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x3-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x3-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-2x4-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x4-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-2x4-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-3x2-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x2-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x2-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-3x3-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x3-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x3-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-3x4-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x4-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-3x4-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-4x2-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x2-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x2-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-4x3-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x3-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x3-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-4x4-scalar.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x4-std140.comp MSL: Add std140 and scalar matrix layouts. 2019-07-22 11:30:03 +02:00
matrix-4x4-std430.comp MSL: Add std430 matrix access test. 2019-07-22 11:23:06 +02:00
matrix-multiply-row-major.comp Simplify row-major matrix/vector multiplies. 2019-07-23 10:56:57 +02:00
matrix-multiply-unpacked-col-major-2.comp Test matrix multiplies in more complex scenarios. 2019-07-23 12:12:24 +02:00
matrix-multiply-unpacked-col-major.comp Test matrix multiplies in more complex scenarios. 2019-07-23 12:12:24 +02:00
matrix-multiply-unpacked-row-major-2.comp Test matrix multiplies in more complex scenarios. 2019-07-23 12:12:24 +02:00
matrix-multiply-unpacked-row-major.comp Use to_unpacked_row_major_expression to unify row-major in MSL/GLSL. 2019-07-23 11:36:54 +02:00
member-padding.comp Add tests for struct padding and self-alignment. 2019-07-23 11:46:34 +02:00
std140-array-of-vectors.comp Test array of std140 vectors. 2019-07-23 10:38:32 +02:00
struct-alignment.comp Add tests for struct padding and self-alignment. 2019-07-23 11:46:34 +02:00
struct-packing-array-of-scalar.comp Add test for array of scalar struct. 2019-07-23 15:30:03 +02:00
struct-packing-recursive.comp Recursively pack struct types when we find scalar packed structs. 2019-07-23 15:24:53 +02:00
struct-packing.comp Test implicit packing of struct members. 2019-07-23 12:04:15 +02:00
struct-size-padding-array-of-array.comp Add struct size padding tests. 2019-07-23 10:30:37 +02:00
struct-size-padding.comp Add struct size padding tests. 2019-07-23 10:30:37 +02:00