Direct3D 12 Rendering Driver (via Mesa 3D's NIR)
This is a replacement of #64304. The difference lies in how they approach shader compilation; i.e., how they manage to take SPIR-V shaders into Dire...
By supporting Direct3D 12, Godot gains support for multiple new platforms, such as:
Windows Store (UWP).
Windows on ARM.
GDK.
XBox —which can't be supported officially by Godot, but for which Direct3D 12 support is essential—.
Depending on the complexity of the scene, effects used, etc., this first version of the renderer performs generally worse than the Vulkan one. In some tests, D3D12 has not been able to deliver more than 75% of the Vulkan frames per second. In some other, D3D12 has been able to outperform Vulkan by a small margin. Performance improvements will be ironed out over time.
I'm not keen on the specifics but part of the reason W4 exists is because the Godot Foundation can't just pass around console SDKs. Only publishers and larger companies can use them and they're usually under NDA.
So your options are going to a publisher like W4 Games (which is an entity by Godot's founders) to handle that for you, or you can try porting it yourself and going through all the legal shenanigans.
it is impossible for Godot to include first-party console support out of the box. Even if someone would contribute it, we simply could not host this code legally in our Git repository for anyone to use.
Maybe that’s true, I’m not a lawyer. But Godot’s founders own one of the companies that provide console support: https://lonewolftechnology.com/
It could be a conflict of interest or an honest way to provide console support in Godot while also being compensated for their work on Godot. After all, food on the table is not open source.
@tabular@popcar2 who says it is? It's just a wrapper for this api. You could say that all API's are open source :)
Do you dislike godot as an OOS supporting closed source like windows/directx?
I want to encourage people to value software freedom. I am unsure of the effect of supporting proprietary platforms has on that. This feels uncomfortable.