Dennis Brakhane
Dennis Brakhane
The DirectXShaderCompiler also seems to (now?) support compiling to Metal IR, might be worth taking a look.
> This is odd: > -> shaders/spirv/objectPS_prepass.cso > 6: OpCapability Geometry According to [the docs](https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/SPIR-V.rst#implicit-location-number-assignment) DXC declares Geometry capability when PrimitiveId is used as an input in a pixel shader.
The big difference is that Macs don't support Vulkan, they use their own API ("Metal"). Adding (and maintaining!) Metal support to Wicked is probably too much hassle, but MoltenVK could...
There is a WIP PR, but AFAICT nobody's working on it right now. https://github.com/turanszkij/WickedEngine/pull/1230