SPIRV-Cross/reference/shaders-msl
Hans-Kristian Arntzen 27d6d45671 MSL: Rewrite tessellation_access_chain.
To support loading array of array properly in tessellation, we need a
rewrite of how tessellation access chains are handled.

The major change is to remove the implicit unflatten step inside
access_chain which does not take into account the case where you load
directly from a control point array variable.

We defer unflatten step until OpLoad time instead.
This fixes cases where we load array of {array,matrix,struct}.

Removes the hacky path for MSL access chain index workaround.
2019-10-26 16:10:12 +02:00
..
amd Updates for pull request #1162 2019-09-24 14:35:25 -04:00
asm Implement constant empty struct correctly on all backends. 2019-10-26 16:10:11 +02:00
comp MSL: Do not declare array of UBO/SSBO as spvUnsafeArray<T>. 2019-10-26 16:10:08 +02:00
desktop-only MSL: Rewrite tessellation_access_chain. 2019-10-26 16:10:12 +02:00
flatten MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00
frag MSL: Rewrite propagated depth comparison state handling. 2019-10-26 16:10:11 +02:00
intel Updates for pull request #1162 2019-09-24 14:35:25 -04:00
legacy/vert Updates for pull request #1162 2019-09-24 14:35:25 -04:00
tesc MSL: Rewrite tessellation_access_chain. 2019-10-26 16:10:12 +02:00
tese MSL: Rewrite tessellation_access_chain. 2019-10-26 16:10:12 +02:00
vert MSL: Do not declare array of UBO/SSBO as spvUnsafeArray<T>. 2019-10-26 16:10:08 +02:00
vulkan MSL: Do not generate UnsafeArray<> for any array inside buffer objects. 2019-10-24 12:22:30 +02:00