SPIRV-Cross/reference/shaders-msl/vulkan
Chip Davis cab7335e64 MSL: Don't set the layer for multiview if the device doesn't support it.
Some older iOS devices don't support layered rendering. In that case,
don't set `[[render_target_array_index]]`, because the compiler will
reject the shader in that case. The client will then have to unroll the
render pass manually.
2020-09-01 19:30:28 -05:00
..
frag MSL: Don't set the layer for multiview if the device doesn't support it. 2020-09-01 19:30:28 -05:00
vert MSL: Don't set the layer for multiview if the device doesn't support it. 2020-09-01 19:30:28 -05:00