Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Microsoft Begins Landing Changes For Cross-Platform Support With Their Mesa D3D12 Code
Before getting too excited, while this is about cross-platform support for this Gallium Direct3D 12 code, the use-case is about getting OpenGL working within Windows Subsystem for Linux (WSL). This effort is not focused outside of the WSL context or doing any crazy things to improve Linux gaming.
This merge request was honored on Tuesday as the initial preparations for cross-platform support of the D3D12 code. The initial work was on allowing this D3D12 and NIR to DXI code to work in compiler toolchains outside of Microsoft MSVC and non-Windows SDKs. Given it will be built within Linux distributions on Windows Subsystem for Linux 2, various clean-ups and build changes were necessary.
The actual wiring up of allowing OpenGL to work within Windows Subsystem for Linux 2 instances (by means of translating to Direct3D 12) is still being tackled. This code is already proving useful to Windows itself for allowing OpenGL (and ultimately OpenCL) to run on Windows itself off D3D12 drivers, which is particularly useful right now for Windows on Arm where GL/CL drivers may not be available.