Advanced Shader Delivery State Object Compiler

Generate the Precompiled Shader Database for ASD support.

Microsoft® Advanced Shader Delivery (ASD) addresses one of the most frustrating challenges for PC gamers today – long load times and disruptive stuttering during a game’s first launch, caused by the need to compile graphics shaders and cache them for future use.

With ASD, shaders required by a title are compiled ahead of time into a Precompiled Shader Database (PSDB) and downloaded to the player’s device along with game updates from storefronts that support ASD, reducing or eliminating the need to wait for shader compilation when the game launches.

To help prepare a game for ASD support on AMD graphics hardware, developers can use the AMD Direct3D® 12 (D3D12) State Object Compiler plugin downloadable from this page.

Download the latest version - v32.0.32015.2008

AMD D3D12 State Object Compiler requirements

  • To generate PSDB files covering all recent AMD Software: Adrenalin Edition™ driver releases, all recommended compiler versions listed in the downloads section are required in addition to the latest version.
  • The compiler can be used to compile PSDBs on any x64 Windows® PC or server; no GPU is required.
  • To identify which hardware devices are supported by each D3D12 State Object Compiler plugin version, run:

D3D12StateObjectCompiler.exe list --adapters --plugin .\<path to>\amdxc_compiler.dll

Features

  • Forms an essential step in preparing a game for Microsoft Advanced Shader Delivery (ASD) support on AMD Radeon™ graphics cards.
  • Compiles a game’s State Object Database (SODB) into a Precompiled Shader Database (PSDB) for local testing before deployment.
  • Installs from Microsoft NuGet, with a Python script provided to fetch every recommended version for automated build systems.
  • Supports AMD RDNA™ through RDNA 4 architecture GPUs across recent AMD Software: Adrenalin Edition driver releases.

How to prepare a game for ASD

  1. Create a State Object Database (SODB) for a game.

    • An SODB is the serialized list of the Pipeline State Objects (PSOs) and State Objects (SOs) the game creates, together with the shader DXIL needed to reconstruct them.
    • Once the database is deployed to a supported storefront, the storefront compiles it into a Precompiled Shader Database (PSDB) and delivers that to players. The PSDB is used by the device’s shader cache to load all the shaders during creation.
  2. Test the SODB using the AMD D3D12 State Object Compiler.

    • Compile it into a Precompiled Shader Database (PSDB), register it locally, and confirm its quality.
  3. Deploy the SODB to a supported storefront (at the time of writing, the Xbox PC app).

AMD D3D12 State Object Compiler downloads

Note: To generate PSDB files covering all recent AMD Software: Adrenalin Edition driver releases, download every recommended compiler version listed below alongside the latest version.

  • This Python script will download all current compilers via the NuGet package manager.

  • Automated build systems can use the current recommended compiler versions list.

  • To compile PSDBs for one AMD Software: Adrenalin Edition driver version only, download the latest AMD D3D12 State Object Compiler plugin using the button above or select the appropriate download link in the table below.

AMD Software: Adrenalin Edition driver & AMD hardware supportD3D12 State Object Compiler version
AMD Software: Adrenalin Edition 26.9.2 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.32015.2008
AMD Software: Adrenalin Edition 26.9.2 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21045.11001
AMD Software: Adrenalin Edition 26.9.1 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.31041.3013
AMD Software: Adrenalin Edition 26.9.1 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21045.9003
AMD Software: Adrenalin Edition 26.8.1 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.31041.1004
AMD Software: Adrenalin Edition 26.8.1 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21045.5002
AMD Software: Adrenalin Edition 26.7.1 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.31035.1003
AMD Software: Adrenalin Edition 26.7.1 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21045.1000
AMD Software: Adrenalin Edition 26.6.4 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.31021.5001
AMD Software: Adrenalin Edition 26.6.4 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21043.19003
AMD Software: Adrenalin Edition 26.6.2 (AMD RDNA 3, RDNA 3.5, and RDNA 4 Architecture GPUs)32.0.31021.1015
AMD Software: Adrenalin Edition 26.6.2 (AMD RDNA and RDNA 2 Architecture GPUs)32.0.21043.19003

Requirements

AMD D3D12 State Object Compiler requirements

  • x64 Windows® PC or server.

End user requirements for games with ASD support

  • GPU: AMD RDNA™, RDNA 2, RDNA 3, RDNA 3.5, or RDNA 4 Architecture graphics cards.
  • OS: Windows® 11 24H2 or higher.
  • Xbox Gaming Services: 37.113.11003.0 or higher.

Footnotes and disclaimers

Links to third party sites are provided for convenience and unless explicitly stated, AMD is not responsible for the contents of such linked sites and no endorsement is implied. GD-97.

Python is a registered trademark of the PSF.

Windows and Direct3D are trademarks of the Microsoft group of companies.

Version history

  • D3D12 State Object Compiler for AMD Software: Adrenalin Edition™ 26.9.2 on AMD RDNA™ 3, RDNA 3.5, and RDNA 4 Architecture GPUs.

Related news and technical articles

Related videos