Documentation
¶
Overview ¶
Command dxil_gen compiles the compute packages to signed DXIL for the DX12 backend: it lowers the renderer's compute sources and the conformance sources, emits one HLSL source per entry point into the build tree, runs the DirectX Shader Compiler on each, and writes the blobs into the dxil directory of the dx12 package, which every Windows build embeds. The backend's own kernels, the fill, are written and compiled the same way into the backend set. The compiler must have dxil.dll beside it so the blobs are signed; an unsigned blob, or one without the root signature the shell declares, is rejected. With an empty compiler path the sources are written and nothing is compiled, for inspection on a machine without the compiler.