Vkd3d 1.12 Released by The Wine Project with Direct3D 12 Implementation

Wine Project published package release vkd3d 1.12 with a Direct3D 12 implementation that works through broadcasting calls to the Vulkan graphics API. The package includes libvkd3d libraries with implementations of Direct3D 12, libvkd3d-shader with a translator of shader models 4 and 5 and libvkd3d-utils with functions for simplifying the porting of Direct3D 12 applications, as well as a set of demo examples, including a port of glxgears to Direct3D 12. Project code distributed by licensed under LGPLv2.1.

libvkd3d library supports Most of the features of Direct3D 12, including graphics and computing facilities, queues and command lists, handles and heap handles, root signatures, out-of-order access, Samplers, command signatures, root constants, indirect rendering, Clear*() methods and Copy*(). libvkd3d-shader implements translation of bytecode of shader models into an intermediate SPIR-V representation. Supports vertex, pixel, tessellation, compute and simple geometry shaders, root signature serialization and deserialization. Shader instructions include arithmetic, atomic and bit operations, comparison and data flow control operators, sample, gather and load instructions, unordered access operations (UAV, Unordered Access View).

IN new version:

  • The HLSL compiler now supports direct compilation of Direct3D shaders and SPIR-V target types into assembly code.
  • Improved profile support in the HLSL compiler 1, 2 And 3 shader models.
  • Built-in functions cosh(), determinant(), refract(), sinh() and tanh() are implemented for HLSL.
  • libvkd3d has added support for the DXGI_FORMAT_B5G6R5_UNORM, DXGI_FORMAT_B5G5R5A1_UNORM, and DXGI_FORMAT_B4G4R4A4_UNORM formats, if supported by the existing Vulkan API implementation.
  • Added support for ID3D12ShaderCacheSession and ID3D12Device9 interfaces. Added CreateCommittedResource2(), CreatePlacedResource1(), GetCopyableFootprints1() and GetResourceAllocationInfo2() methods to the ID3D12Device8 interface.
  • Test queries D3D12_FEATURE_D3D12_OPTIONS14, D3D12_FEATURE_D3D12_OPTIONS15, D3D12_FEATURE_D3D12_OPTIONS16, D3D12_FEATURE_D3D12_OPTIONS17 and D3D12_FEATURE_D3D12_OPTIONS18 have been implemented.
  • In libvkd3d-shader for intermediate language DXIL (DirectX Intermediate Language) added experimental support for most methods and instructions of the 6 Direct3D shader model.

Thanks for reading: