3 ms·
> Not to mention that DirectX uses a totally different shader language than Vulkan, so you have to get in there and translate all that code over. Vulkan doesn'
by tambre 7y ago
> Not to mention that DirectX uses a totally different shader language than Vulkan, so you have to get in there and translate all that code over.
Vulkan doesn't really have a shader language unless you want to write SPIR-V assembly. Thus you'd use either GLSL or HLSL.
Microsoft's own DirectX HLSL compiler[0] supports SPIR-V as a target in addition to DXIL.
[0]: https://github.com/microsoft/DirectXShaderCompiler https://github.com/microsoft/DirectXShaderCompiler
- Pfhreak 7y agoConsider me corrected! I had done a quick google and saw GLSL listed in the top results and made an incorrect assumption.