SHADER & VULKAN ENGINEERING

Project Leonida Shaders & Wave64 Explained

Last checked:

As of 2026-11-23, ItsNotRexed/Leonida has translated 26,503 RDNA2 console shaders into spirv-val-passing Vulkan SPIR-V. Here is how the four-script pipeline works, why 81.3% use Wave64, and why the game still cannot boot.

Translation Target
LLVM gfx1013 -> SPIR-V
Subgroup Model
Wave64 (81.3% share)
Boot Status
Blocked (No .exe)

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.

Project Leonida 5-stage make_game.py static recompilation pipeline architecture diagram

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:

  1. shader_carve.py: Carves individual DXBC shader containers out of shaders.rpf.
  2. fssm_unpack.py: Unpacks the native RDNA2 hardware shader blocks from each container.
  3. shader_disasm.py: Disassembles the native GPU instructions via LLVM targeting gfx1013.
  4. rdna2spirv.py: Translates the disassembled instruction stream into Vulkan SPIR-V bytecode and verifies structural validity with spirv-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

Project Leonida 26,503 validated shaders distribution and Wave64 hardware share chart

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.

Frequently Asked Questions

How many GTA 6 shaders has Project Leonida translated to Vulkan?

In the latest verified snapshot (see the GTA 6 PC Status Hub), 26,503 shaders from shaders.rpf passed spirv-val validation after LLVM gfx1013 disassembly and rdna2spirv.py translation: 12,101 Pixel, 9,282 Mesh, 2,689 Compute, 2,236 Vertex, and 195 Geometry shaders.

Does spirv-val validation mean GTA 6 can render on PC now?

Passing spirv-val confirms the generated SPIR-V bytecode obeys Vulkan specification rules. It does not mean the game boots, renders frames, or plays — Project Leonida is still blocked by the lack of a working retail executable and incomplete runtime testing.

Why do Leonida shaders favor AMD GPUs over NVIDIA?

81.3% of the translated shaders (21,545 in the current snapshot) use 64-wide Wave64 subgroup operations tailored for Xbox Series X|S's AMD RDNA2 GPU. AMD RDNA2/3/4 cards support Wave64 natively, while NVIDIA's 32-wide warp architecture requires approximating cross-half operations.

Why are there so many Mesh Shaders in GTA 6?

Mesh Shaders make up 35.0% of the translated shader set (9,282 programs), confirming that GTA 6's RAGE engine relies heavily on modern DX12 Ultimate / Vulkan Mesh Shader pipelines for dense open-world geometry.

Community Notes & Updates (0)