Collabora working on making any DirectX 12 driver able to support open graphics and parallel programming APIs

Microsoft and Collabora are developing OpenCL and OpenGL mapping layers for DirectX so that software developed for these open standards will run correctly on all DirectX 12-enabled devices.

DirectX is Microsoft's proprietary hardware-accelerated graphics API for Windows; OpenGL is a cross-platform graphics API; and OpenCL is a cross-platform framework for parallel programming on CPUs and GPUs. Although there are Windows OpenCL and OpenGL drivers for many GPUs, the extent of support varies, and the DirectX implementation may be better optimised. The mapping layers will be delivered as enhancements to the open-source Mesa 3D project, for which Microsoft will provide a new DirectX 3D 12 (D3D12) backend.

Redmond said the main purpose is to "improve support for OpenCL- and OpenGL-based productivity and creative apps where native drivers are not available" rather than for gaming applications.

Collabora's Erik Faye-Lund explained the project in more detail here. "This means that a GPU vendor only has to implement a D3D12 driver for their hardware in order to support all three APIs," said the graphics software dev. "This mapping layer is also expected to serve as a starting point in porting older OpenCL and OpenGL applications over to D3D12."

The versions supported will be OpenCL 1.2 and OpenGL 3.3.

Much of the work is about generating DirectX Intermediate Language (DXIL), which is consumed by DirectX drivers. DXIL is based on LLVM bitcode, but uses an ancient version for compatibility with older drivers. Unfortunately, newer versions of LLVM cannot generate bitcode in the older format, so the team has had to implement a new DXIL emitter, according to Faye-Lund.

"This is just the announcement, and a whole lot of work is left to be done," said Lund.

The immediate goals are to pass conformance tests for OpenCL 1.2 and OpenGL 3.3, work on application compatibility with the focus on productivity applications, and to upstream the work to the main Mesa codebase. ®

Search
About Us
Website DownloadCrackz provides softwares, patches, cracks and keygens. If you have software or keygens to share, feel free to submit it to us here. Also you may contact us if you have software that needs to be removed from our website. Thanks for use our service!
IT News
Apr 7
DataStax buries Apache hatchet and launches features to make NoSQL Cassandra faster, safer and more graphable

The project 'got kind of gangly and awkward for a while' dev relations veep tells The Reg

Apr 7
Apr 7
Want to stay under the radar for a decade or more? This Chinese hacking crew did it... by aiming for Linux servers

BlackBerry says Winnti-derived group is playing it quiet with rootkit attacks

Apr 7
Apr 6
Four new bugs? You shouldn't have: Microsoft celebrates 45 years with dollop of borkage on Windows Insider Fast Ring

Also: Skype goes attention-seeking and Edge shares its scrolling smarts with Chromium

Apr 6
Just cough into here, please: Cambridge-developed app collects sounds of COVID-19

No stethoscope needed - but you don't get to know the results