Re:Rocket League left behind on macOS and Linux due to Direc...
by tambre on Tuesday January 28, 2020 @12:41PM
(#22171781)
> 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.
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