|
|
|
|
|
by tambre
2341 days 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 |
|