logoalt Hacker News

wsc98110/11/20241 replyview on HN

Cause MoltenVK [1] is used, I think.

---

[1]: https://github.com/KhronosGroup/MoltenVK


Replies

GeekyBear10/11/2024

Not really.

PC games use DirectX as their graphics API, so you need something that can translate from DirectX to the native graphics API your OS is running.

On MacOS you'd be translating from DirectX to Metal and Apple provides the emulation software (D3DMetal) as part of the Game Porting Toolkit.

On a Steam Deck, Proton uses Vulkan on Linux as the native graphics API, so in that case you are translating from DirectX to Vulkan.

> DXVK (which translates Direct3D 8, 9, 10 and 11 calls to Vulkan on the fly), vkd3d-proton (which translates Direct3D 12 to Vulkan)

https://emulation.gametechwiki.com/index.php/Proton

show 1 reply