Skip to content

DX Compiler Mesh Nodes Preview Release

Pre-release
Pre-release
Compare
Choose a tag to compare
@pow2clk pow2clk released this 18 Jul 18:00
cfc8ba0

DX Compiler Mesh Nodes Preview Release

This release enables the experimental mesh nodes feature. Mesh node shaders allow using the mesh shader outputs to funnel the output of a work graph into the geometry pipeline. From there, graphics output can be formed based on the product of a work graph. For details, see the DirectX Blog post and the mesh nodes section of the work graphs spec.

To make use of these new work graph nodes, build with the -T lib_6_9 flag. This doesn't imply that mesh nodes are part of 6.9, but just that the "experimental" version is always one version past the latest.

The Windows package includes dxc.exe, dxcompiler.dll, and corresponding lib and headers for x64 and arm64 platforms. The Linux package includes dxc, libdxcompiler.so, and corresponding headers for x86_64 Ubuntu LTS (22.04).

The DXIL signing library (dxil.dll/libdxil.so) is not provided with this preview release. DXIL generated with this compiler is not final, cannot be validated, and is not supported for distribution or execution on machines not running in developer mode.

The new DirectX 12 Preview Agility SDK (Microsoft.Direct3D.D3D12 nuget package here), and a hardware driver with appropriate support are required to run mesh node shaders. Please see https://aka.ms/directx12agility for details. Nuget for Microsoft.Direct3D.DXC can be found here.

The SPIR-V backend of the compiler has been enabled in this release. Please note that Microsoft does not perform testing/verification of the SPIR-V backend.