Vkd3d 1.11 with Direct3D 12 implementation released by The Wine Project

Wine Project published package release vkd3d 1.11 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*(). In libvkd3d-shader, the translation of bytecode of shader models 4 and 5 into an intermediate SPIR-V representation is implemented. 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:

  • Added initial support for compiling legacy Direct3D bytecode into an intermediate representation of SPIR-V shaders.
  • The HLSL compiler has added initial support for compiling Direct3D effect profiles (“fx_2_0”, “fx_4_0”, “fx_4_1” and “fx_5_0”).
  • Added experimental support for compiling DXIL (DirectX Intermediate Language) into the SPIR-V view and assembly instructions Direct3D shaders.
  • HLSL has added support for the “fx_2_0”, “fx_4_0”, “fx_4_1” and “fx_5_0” profiles, implemented built-in functions acos(), asin(), atan() and atan2(), and provided support for “Buffer” resources.
  • Added an optimization that updates handles asynchronously, which can result in faster applications that update a large number of handles every frame.
  • The use of Vulkan extensions VK_EXT_mutable_descriptor_type and VK_EXT_shader_viewport_index_layer is provided to improve the efficiency of working with the descriptor pool and speed up the rendering of vertex and tessellation shader arrays.
  • Added support for ID3D12Device7 and ID3D12Resource2 program interfaces. The GetResourceAllocationInfo1() method has been added to the ID3D12Device4 interface.
  • Added support for the D3DReflect() and D3DDisassemble() interfaces.
  • Implemented test queries D3D12_FEATURE_D3D12_OPTIONS6 D3D12_FEATURE_D3D12_OPTIONS7, D3D12_FEATURE_D3D12_OPTIONS8, D3D12_FEATURE_D3D12_OPTIONS9, D3D12_FEATURE_D3D12_OPTIONS10, D3D12_F EATURE_D3D12_OPTIONS11, D3D12_FEATURE_D3D12_OPTIONS12, D3D12_FEATURE_D3D12_OPTIONS13.
  • Added new assembly options: VKD3D_SHADER_COMPILE_OPTION_FEATURE, VKD3D_SHADER_COMPILE_OPTION_FEATURE_INT64, VKD3D_SHADER_COMPILE_OPTION_FEATURE_FLOAT64, VKD3D_SHADER_API_VERSION_1_10 and VKD3D_SHADER_SPIRV_EXTENSION _EXT_VIEWPORT_INDEX_LAYER.
  • The D3D12CreateDeviceVKD3D() and D3D12CreateDevice() functions use the Vulkan extensions VK_KHR_android_surface, VK_KHR_wayland_surface, VK_KHR_win32_surface, VK_KHR_xlib_surface, VK_EXT_metal_surface and VK_MVK_ios_surface.

Thanks for reading: