How Project Leonida Translates GTA 6 Console Shaders to Vulkan
As of 2026-11-23, the leonida gta 6 shaders pipeline in ItsNotRexed/Leonida has translated 26,503 shaders from shaders.rpf into spirv-val-passing Vulkan SPIR-V bytecode (for live snapshot updates, check the GTA 6 PC Status Hub). Rather than emulating console CPU instructions on the fly, Project Leonida pairs native x86-64 binary mapping with offline static shader recompilation targeting Xbox Series X|S's AMD RDNA2 GPU (gfx1013).
To see how the shader scripts sit inside the full repository layout and what local building requires, read our Project Leonida GitHub build guide.
The Four-Script RDNA2-to-SPIR-V Translation Chain
Inside make_game.py, Stage 02 processes precompiled Xbox Series shader containers through four sequential tools:
shader_carve.py: Carves individual DXBC shader containers out ofshaders.rpf.fssm_unpack.py: Unpacks the native RDNA2 hardware shader blocks from each container.shader_disasm.py: Disassembles the native GPU instructions via LLVM targetinggfx1013.rdna2spirv.py: Translates the disassembled instruction stream into Vulkan SPIR-V bytecode and verifies structural validity withspirv-val.
Shader Stage Breakdown (Snapshot: 2026-11-23)
The 26,503 validated programs recorded in our latest snapshot highlight how heavily Grand Theft Auto VI's RAGE engine relies on modern Mesh Shaders and pixel shading:
| Shader Stage | Validated Count | Share of Total | Primary Role in Rendering |
|---|---|---|---|
| Pixel Shaders (PS) | 12,101 | 45.7% | Surface materials, lighting, reflections, and post-processing |
| Mesh Shaders (MS) | 9,282 | 35.0% | Modern GPU-driven geometry culling and dense world detail |
| Compute Shaders (CS) | 2,689 | 10.1% | Physics, culling, GI acceleration, and async GPU workloads |
| Vertex Shaders (VS) | 2,236 | 8.4% | Traditional vertex transformations where Mesh Shaders are not used |
| Geometry Shaders (GS) | 195 | 0.7% | Specialized primitive generation passes |
| Total Validated | 26,503 | 100.0% | All pass spirv-val validation |
The Wave64 vs. Wave32 Hardware Bottleneck
Passing spirv-val confirms the translated Vulkan bytecode is structurally legal — it does not guarantee identical execution behavior across every desktop GPU vendor. The core architectural divide documented in Project Leonida is subgroup wave width:
- Wave64 Dominance (21,545 Shaders / 81.3%): Over four-fifths of the translated console shaders use 64-wide wavefront operations designed for Xbox Series X|S's AMD RDNA2 GPU.
- AMD RDNA2 / RDNA3 / RDNA4 GPUs: Support 64-wide wavefronts natively, matching the console shader model without wide-subgroup emulation overhead.
- NVIDIA GeForce RTX GPUs (32-Wide Warps): Execute threads in 32-wide warps (
Wave32). Cross-half Wave64 lane shuffles and ballot operations must be approximated in translation layers, creating extra tuning and validation complexity on non-AMD cards.
Want to check how your specific graphics card stacks up for both Wave64 translation and future official PC specs? Run our GTA 6 PC requirements & GPU checker.
Why Validated Shaders Still Do Not Mean a Bootable Game
Many viral posts saw "shaders translated to Vulkan" and assumed Project Leonida already boots GTA 6 on Windows. Shaders are only the GPU rendering programs — launching the game still requires a valid main executable (.exe), complete GDK / XMem / d3d12_xs runtime shims, and full memory/draw-call testing.
Because publicly discussed console dumps lacked a working main .exe, Stage 05 (Game Boot) remains blocked. For official PC launch tracking, see our GTA 6 PC release date & timeline.
Community Notes & Updates (0)