Home >Common Problem >DirectX 12 support is creeping into Linux
Vulkan and other open source graphics APIs are strongly respected by the industry. It is widely used in the PC gaming field. High-performance cross-platform software like Vulkan enables incredible performance in games like Doom Eternal and allows low-budget games like Farming Simulator 22 to run on Mac OS X and Linux.
Gaming giant Microsoft has maintained DirectX dominance through its Xbox brand and studio acquisitions, and now it appears to be creeping into open source software implementations of OpenGL for Mesa, Linux, and BSD. Microsoft Principal Software Engineer Jesse Natalie is working on adding and improving D3D12 compute support in OpenGL via Mesa, and hinted that future enhancements are in the pipeline. Merge request from Jesse:
This adds some parallel state tracking to the computation. In some cases, graphics state tracking is simply extended (e.g., resources bound to shaders), in other cases it is duplicated (e.g., additional pipeline caches), and in other cases it be reconstructed. The end result of computing support for ARB_compute_shader is that the indirect path therein is somewhat slow. Now that we have compute support, we can start connecting compute shaders for things we need to simulate in the future, such as providing faster paths for indirect dispatch that require state variables.
While Mesa's support for D3D12 compute shaders is currently unclear, such support could be very useful in data centers. Microsoft may already offer GPU-optimized virtual machines on Azure for workloads that require more specialized chips. It's important to note that this merge request and its build efforts are not related to any official efforts to port DirectX 12 to Linux.
The above is the detailed content of DirectX 12 support is creeping into Linux. For more information, please follow other related articles on the PHP Chinese website!