Skip to main content

Khronos wants to let you write a game that can run on Vulkan, Metal, and DirectX 12

khronos developing portaple api for vulkan metal and directx 12 unity 5 6 beta renderer
The Khronos Group makes OpenGL and Vulkan, two cross-platform graphics application programming interfaces (APIs) that seek to run on every platform that might be of interest to gamers. Vulkan just recently received Intel’s support for the GPUs that are integrated in its latest Core processors, greatly expanding Vulkan’s compatibility with Windows machines.

However, Khronos has concluded that current cross-platform solutions aren’t sufficient to support every platform, including Apple’s, which currently utilizes that company’s Metal API and so hasn’t yet adopted Vulkan support. With that in mind, Khronos is creating a portable API that will run on top of Vulkan, Metal, and Microsoft DirectX 12.

Jon Peddie, president of Jon Peddie Research, described the reasons behind the Khronos decision to develop the new overlay:

“The golden age of application portability through OpenGL and OpenGL ES being available on all desktop and mobile systems is passing. Developers now want to tap into the enhanced performance of the new generation explicit APIs: Vulkan, DX12 and Metal. Every cross-platform developer, as well as WebGL, is facing the challenge of rendering portably and efficiently across systems using all three of these APIs.”

In other words, in spite of Vulkan’s official presence on all but Apple’s platform, things remain too fragmented. The solution, according to Khronos, is to develop a portable API that will allow developers to write a single application capable of running on any system. One possibility is that the new portability solution could serve as the foundation for the next-gen WebGL, providing web developers with greater flexibility and access to the fastest GPUs.

While Khronos wants to build a portable API that runs as efficiently as possible, it recognizes that the solution would need to deal somehow with different rendering APIs and shaders. It proposes creating a set of APIs that would leverage where Vulkan, Metal, and DirectX 12 intersect, and omitting those APIs that are the most specific to each and thus difficult to replicate in a portable API.

The project is still in its initial planning stages and Khronos is actively seeking input. If it’s successful with creating this standardized and portable API, then we could eventually see a greater influx of cross-platform games that let gamers remain on the platforms they love without compromise.

Editors' Recommendations

Mark Coppock
Mark has been a geek since MS-DOS gave way to Windows and the PalmPilot was a thing. He’s translated his love for…
Why gaming on MacOS is dead forever and never coming back
mac gaming lifestyle

Mac gaming is dead.

Right now, there are just 4,500 games to play on Steam for MacOS. That’s more than zero, but as a means of comparison, it’s around the number of PC games that will hit Steam this year alone.

Read more
3Dmark benchmark test now lets you compare Direct X 11, 12, and Vulkan
3dmark api vulkan apioverhead

Futuremark added the Vulkan API to its Overhead test in 3Dmark, letting users see how their system handles draw calls in DirectX 11, 12, and now Vulkan. Although Vulkan should decimate DirectX 11 in testing, it will be interesting to see how different systems fare when comparing it to DirectX 12.

When AMD debuted its Mantle API, it forced the hand of Microsoft in the development of DirectX 12, to give developers much lower-level access to hardware. That lead to a huge increase in its ability to send draw calls to the GPU, increasing it by several times. Vulkan, the results of the Khronos Group building upon Mantle's foundations, does much the same, making it a strong competitor for DX12.

Read more
Vulkan, VR and DirectX 12 all getting new additions in Futuremark's benchmarks
futuremark 3dmark time spy benchmark 004

With more and more hardware now supporting the DirectX 12 graphics application program interface, developer of 3D-benchmarking software Futuremark pledged to add a new DirectX 12 test to its 3DMark suite of testing tools in the future. It will be less taxing than the original and will be joined by a new Vulcan benchmark, too.

The idea behind the new DirectX 12 benchmark is to offer one for those running contemporary chips that are not necessarily designed for top-tier gaming. Notebooks with onboard graphics chips and those with entry-level add-in cards are worth benchmarking too, though the original 3DMark DirectX 12 test would be likely to bring them to their knees.

Read more