2 ms·
In OP’s corner case maybe there is, to have a single GPU API and single shader language across all platforms they support. This doesn’t apply to commercial sof
by Const-me 7y ago
In OP’s corner case maybe there is, to have a single GPU API and single shader language across all platforms they support.
This doesn’t apply to commercial software. Even if MoltenVK works flawlessly (I don't have experience with the technology), the only GPU API which does on Windows is Direct3D. For cross-platform stuff you want to support multiple GPU APIs, or you’ll have to spend a lot of money supporting users with broken/missing/nonexistent GL/VK drivers.
- kvark 7y agoThey do have a single GPU API (wgpu-rs) and only one version of the shaders - SPIRV.