News for hackers. Stuff that matters.
Re:Zink (OpenGL on Vulkan) performance better than expected by bitwize on Thursday September 10, 2020 @02:01AM (#24429334)
Multiple implementations suck because implementors rarely aim for full compliance, and now you have to have as many code paths as there are implementations to account for the differences between them. Best to have a single implementation that everybody agrees on -- like the winner of the graphics API wars, Direct3D.
Re:Zink (OpenGL on Vulkan) performance better than expected by imtringued on Thursday September 10, 2020 @04:06AM (#24430003)
I don't know what you are talking about. Direct3D is Windows only. Metal is iOS and Mac only. Vulkan is in theory supported on all platforms but UWP doesn't allow it and Mac requires a compatibility wrapper.

If anything the graphics API war is still going on.

Re:Zink (OpenGL on Vulkan) performance better than expected by pjmlp on Thursday September 10, 2020 @04:38AM (#24430170)
Vulkan is only supported on the Switch, in what concerns game consoles.

And even there one can choose GL 4.5 and NVN as well.

Most native titles end up going with NVN.

Re:Zink (OpenGL on Vulkan) performance better than expected by Reelin on Thursday September 10, 2020 @02:09AM (#24429391)
> Best to have a single implementation that everybody agrees on -- like the winner of the graphics API wars, Direct3D.

Ah yes, D3D, well known for its broad cross platform support! In all seriousness, would a Linux D3D driver even be legal? I have to assume that major legal or technical barriers exist, otherwise why wouldn't a GPU vendor have developed one at some point?

Re:Zink (OpenGL on Vulkan) performance better than expected by Nullabillity on Thursday September 10, 2020 @04:12AM (#24430038)
Mesa actually does support D3D9 natively for AMD (and, sort of, Intel) GPUs via the Gallium Nine project, and there is a branch of Wine that uses it.

But these days that's mostly superseded by DXVK (which implements D3D9 through 11 over Vulkan, kind of like Zink in the OP) and VKD3D (D3D12 over Vulkan).

Re:Zink (OpenGL on Vulkan) performance better than expected by imtringued on Thursday September 10, 2020 @04:07AM (#24430011)
D3D drivers for Linux exist but it's through a compatibility layer. https://github.com/doitsujin/dxvk
Re:Zink (OpenGL on Vulkan) performance better than expected by Reelin on Thursday September 10, 2020 @06:00AM (#24430675)
I don't think a compatibility layer implemented in software is the same as a driver implemented by the vendor that interacts directly with the hardware.