ACO Shader Compiler for XBOX Series X|S
An experimental shader compiler for XBOX Series X|S based on ACO from Mesa, introduced with the October 2026 GDK and also usable with older GDK versions, shows average improvements of 8%, peaking at 20% so far. The HLSLCompile sample shows how to try it.
The October 2026 Microsoft Game Development Kit (GDK) brings an experimental new shader compiler for XBOX Series X|S consoles, based on ACO (AMD Compiler) from Mesa. You can try it on your own shaders and measure compilation and runtime performance against the standard XBOX shader compiler. The HLSLCompile and AdvancedPSO samples have been updated to show the complete ACO workflow, from offline shader compilation on the PC to using the compiled shaders at runtime on the console.
What is ACO?
ACO is the shader compiler backend for AMD GPUs in the Mesa open-source graphics project, now available in the GDK as an experimental compiler for XBOX consoles.
- ACO is experimental. We recommend you try it, as it helps most titles. If you run into any issues, let us know, and you can fall back to the non-experimental legacy backend.
- Supported on XBOX Series X|S only. It is not supported on XBOX One.
- Introduced with the October 2026 GDK, and can also be used with older GDK versions.
Why try ACO?
The XBOX team built this compiler on the open-source Mesa ACO stack to improve shader compilation and runtime performance. In initial testing and evaluation, developers have seen average improvements of 8%, peaking at 20% so far, depending on game engine, content and current shader bottlenecks. There has also been a large improvement in performance on shaders that make heavier use of FP16*.
Measure the results on your own shaders.
* FP16 performance achieved with an upcoming version of ACO scheduled for the 2610 GDK Update or later.
Performance Experiments
ACO is best suited to studios already using Offline PSOs. ACO requires changes to your pipeline (Offline PSOs) and a good understanding of how ACO differs from the standard XBOX shader compiler. The tools are still experimental and are expected to improve in upcoming GDK updates.
Activision has measured the gains on its own content. In Activision's words: “Our gains when initially adopting ACO were closer to ~8-10% rather than near ~20%* like they are now. An automated test run across some of our multiplayer and singleplayer maps and our current results are: Total GPU Frame Time Improvement from ACO: Series X: ~17.66%*, Series S: ~20.65%*.”
How do I try ACO?
Open the HLSLCompile sample and set the active solution platform to Gaming.Xbox.Scarlett.x64, then build and run the solution for XBOX Series X|S. The sample's ACO example needs the October 2026 GDK or later; ACO itself can also be used with older GDK versions. The sample readme explains how the sample uses ACO.
How to open the HLSLCompile sample:
- HLSLCompile sample on GitHub, in the Samples > Graphics folder.
- In the GDK samples download: on XBOX Developer Downloads, select GDK as the file type, then select the Microsoft October 2026 GDKX (Samples only) package. The console and PC samples come as a single .zip file.
ACO Considerations
- If you find rendering issues with ACO that don't occur with the legacy backend:
- Contact AskHLSL@microsoft.com.
- OR as an interim workaround, you can create the affected PSOs with the legacy backend and keep using ACO for the rest. For more information, see Use the legacy backend for specific PSOs.
- Pipeline states are typically built and serialized offline on the PC using the ACO library. ACO can also be used at runtime through aco_xbox.dll: if you cannot yet support offline pipeline states, shaders can be serialized at runtime and then deserialized immediately, at an additional CPU cost.
- The serialized pipeline state is tied to the GDK version that produced it. Rebuild your assets whenever the GDK changes.
- The root signature is described in code on the PC side, and it must match the RootSignature attribute declared in your shaders.
- PIX shows the High-Level Shader Language (HLSL) and ACO disassembly for a shader but cannot yet correlate it back to HLSL source lines as is possible with the legacy compiler backend.
- With an older GDK, or on XBOX One, the sample builds and runs without the ACO example.