I've seen a report that Xbox is adopting Mesa's ACO shader compiler, with dxil-spirv possibly involved too. How do those pieces fit together, and what would this mean for games?
What does Xbox adopting Mesa's ACO compiler actually mean?
Answers
ACO is a compiler backend used in Mesa's graphics stack for AMD GPUs. It takes shader code through optimization and produces instructions for the GPU. The report suggests Xbox may be using that technology, but the details of where and how are still unclear.
dxil-spirv does a different job: it translates DirectX Intermediate Language into SPIR-V. If it is involved, that could be part of getting shader code into a form used by a compilation pipeline. The source only says it might be involved, though, so the exact connection is speculative.
Reply to this answer
I wouldn't read this as a promise of faster games just yet. A compiler can affect shader compilation time and the quality of generated GPU code, but the impact depends on how it's integrated and what it replaces. The report doesn't give enough detail to put numbers on any benefit.
Reply to this answer
The interesting bit is the sharing of graphics technology across projects. ACO was developed for Mesa with Valve's help, and dxil-spirv was originally developed for vkd3d-proton. That background doesn't by itself tell us what Xbox is using either project for, or whether both are actually in its pipeline.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions