SPIRV-Cross/reference/shaders-msl/vulkan/frag
Chip Davis 7eecf5a46b MSL: Support SPV_KHR_multiview.
This is needed to support `VK_KHR_multiview`, which is in turn needed
for Vulkan 1.1 support. Unfortunately, Metal provides no native support
for this, and Apple is once again less than forthcoming, so we have to
implement it all ourselves.

Tessellation and geometry shaders are deliberately unsupported for now.
The problem is that the current implementation encodes the `ViewIndex`
as part of the `InstanceIndex`, which in the SPIR-V environment at least
only exists in the vertex shader. So we need to work out a way to pass
the view index along to the later stages.

This implementation runs vertex shaders for all views up to the highest
bit set in the view mask, even those whose bits are clear. The fragments
for the inactive views are then discarded. Avoiding this is difficult:
calculating the view indices becomes far more complicated if we can only
run for those views which are set in the mask.
2019-06-29 09:43:55 -05:00
..
basic.multiview.nocompat.vk.frag MSL: Support SPV_KHR_multiview. 2019-06-29 09:43:55 -05:00
push-constant.vk.frag CompilerMSL support matrices & arrays in stage-in & stage-out. 2018-06-12 11:41:35 -04:00
spec-constant.msl11.vk.frag Update tests. 2018-11-01 11:23:48 +01:00
spec-constant.vk.frag Declare OpSpecConstantOp up-front on relevant targets. 2018-05-15 14:20:16 +02:00