How? D3D9 only needs HLSL 3. Perhaps you meant adding support for newer D3D versions? D3D10 and D3D11 support are certainly possible, though even still D3D11 only needs HLSL 5. As for D3D12, it would be impossible for the same reason Vulkan on Gallium is impossible; it’s too low level.
Anyway, I’ve used Gallium-Nine with RadeonSI. It works fine. It can even be faster than DXVK, sometimes. Other times, DXVK is faster. They’re about on par. Which kinda begs the question, what’s the point? Gallium-Nine isn’t substantially faster than DXVK and is much less portable, since it requires a Gallium3D driver to work, so it won’t work for Nvidia. The Nouveau Gallium3D driver is way too slow to come close to DXVK. Zink + Gallium-Nine probably works, but I also can’t see that beating DXVK. That’s the reason Gallium-Nine died. Not because they didn’t have the latest HLSL, but because DXVK killed interest in the project.
Yes, I’ve meant adding new version support, my idea is, easier native game development for Linux would be great, and having directx open sourced will be a step in that direction, albeit small but still it is a step in right direction
How? D3D9 only needs HLSL 3. Perhaps you meant adding support for newer D3D versions? D3D10 and D3D11 support are certainly possible, though even still D3D11 only needs HLSL 5. As for D3D12, it would be impossible for the same reason Vulkan on Gallium is impossible; it’s too low level.
Anyway, I’ve used Gallium-Nine with RadeonSI. It works fine. It can even be faster than DXVK, sometimes. Other times, DXVK is faster. They’re about on par. Which kinda begs the question, what’s the point? Gallium-Nine isn’t substantially faster than DXVK and is much less portable, since it requires a Gallium3D driver to work, so it won’t work for Nvidia. The Nouveau Gallium3D driver is way too slow to come close to DXVK. Zink + Gallium-Nine probably works, but I also can’t see that beating DXVK. That’s the reason Gallium-Nine died. Not because they didn’t have the latest HLSL, but because DXVK killed interest in the project.
Yes, I’ve meant adding new version support, my idea is, easier native game development for Linux would be great, and having directx open sourced will be a step in that direction, albeit small but still it is a step in right direction
The D3D shader compiler has been open source for many years. This is just a new version of it.
Didn’t know, thank you for new info