SPIRV-Cross/reference/opt/shaders-msl/vulkan
Chip Davis 31b6c93516 MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages.
MSL prior to 2.2 doesn't support these natively in any stage but
compute. But, we can (assuming no threads were terminated prematurely)
get their values with some creative uses of the
`simd_prefix_exclusive_sum()` and `simd_sum()` functions.

Also, fix a missing `to_expression()` with `BuiltInSubgroupEqMask`.

For KhronosGroup/MoltenVK#629.
2019-07-02 11:48:59 -05:00
..
comp MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages. 2019-07-02 11:48:59 -05:00
frag MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages. 2019-07-02 11:48:59 -05:00
vert MSL: Support SPV_KHR_multiview. 2019-06-29 09:43:55 -05:00