Microsoft opened the layer code for translating Direct3D 9 commands to Direct3D 12

Microsoft announced the open source code of the D3D9On12 layer with the implementation of the DDI (Device Driver Interface) device that translates Direct3D 9 (D3D9) commands into Direct3D 12 (D3D12) commands. The layer allows old applications to work in environments that only support D3D12, for example, it can be useful for implementing D3D9 based on the vkd3d and VKD3D-Proton projects, which offer a Direct3D 12 implementation for Linux that works through the translation of D3D12 calls to the Vulkan graphics API. The D3D9On12 code is written in C++ and published under the MIT license.

The project is based on the code of a similar subsystem that is part of Windows 10. It is noted that the publication of the D3D9On12 code will enable community members to participate in fixing bugs and adding optimizations, and can also serve as an example for studying the implementation of D3D9 DDI drivers and a framework for creating similar layers for translation of various graphics APIs into D3D12.

At the same time, the DXBC Signer package was published, which allows you to sign arbitrary DXBC files generated by third-party tools. D3D9On12 uses this package to sign DXBC generated when converting shaders to a new model.

Source: opennet.ru

Add a comment