SPIRV-Cross/reference/opt
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
..
shaders MSL/HLSL: Support OpOuterProduct. 2019-07-01 10:57:27 +02:00
shaders-hlsl MSL/HLSL: Support OpOuterProduct. 2019-07-01 10:57:27 +02:00
shaders-msl MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages. 2019-07-02 11:48:59 -05:00