MSL: Fix copy of arrays to/from stage IO variables.
authorHans-Kristian Arntzen <post@arntzen-software.no>
Mon, 19 Apr 2021 09:46:30 +0000 (11:46 +0200)
committerHans-Kristian Arntzen <post@arntzen-software.no>
Mon, 19 Apr 2021 10:10:49 +0000 (12:10 +0200)
commitae9ca7d73c6a0ed69167f23584345fab2744e043
treeac77ffdf4bbeb586b526a0cca413419043cefd63
parent986196030d6294224a1c05dfb19211aadbe90687
MSL: Fix copy of arrays to/from stage IO variables.

Need to take into account effective storage classes and whether or not
we target stage IO blocks since native arrays are conditionally enabled.
18 files changed:
reference/opt/shaders-msl/masking/copy-arrays.mask-location-0.msl2.multi-patch.tesc [new file with mode: 0644]
reference/opt/shaders-msl/masking/copy-arrays.mask-location-0.msl2.tesc [new file with mode: 0644]
reference/opt/shaders-msl/masking/copy-arrays.mask-location-1.msl2.multi-patch.tesc [new file with mode: 0644]
reference/opt/shaders-msl/masking/copy-arrays.mask-location-1.msl2.tesc [new file with mode: 0644]
reference/shaders-msl/masking/copy-arrays.mask-location-0.msl2.multi-patch.tesc [new file with mode: 0644]
reference/shaders-msl/masking/copy-arrays.mask-location-0.msl2.tesc [new file with mode: 0644]
reference/shaders-msl/masking/copy-arrays.mask-location-1.msl2.multi-patch.tesc [new file with mode: 0644]
reference/shaders-msl/masking/copy-arrays.mask-location-1.msl2.tesc [new file with mode: 0644]
shaders-msl/masking/copy-arrays.mask-location-0.msl2.multi-patch.tesc [new file with mode: 0644]
shaders-msl/masking/copy-arrays.mask-location-0.msl2.tesc [new file with mode: 0644]
shaders-msl/masking/copy-arrays.mask-location-1.msl2.multi-patch.tesc [new file with mode: 0644]
shaders-msl/masking/copy-arrays.mask-location-1.msl2.tesc [new file with mode: 0644]
spirv_cross.cpp
spirv_cross.hpp
spirv_glsl.cpp
spirv_glsl.hpp
spirv_msl.cpp
spirv_msl.hpp