Tag
Leonida is an open-source static recompilation project that aims to run the Xbox Series version of Grand Theft Auto VI natively on Windows PC, translating RDNA2 shaders to SPIR-V for Vulkan while reading assets from the user's own copy. The game does not boot yet, but all 26,503 shaders have been translated and asset export pipelines are largely in place.
A blog post detailing the rewrite of the control flow graph structurizer in dxil-spirv, replacing a fragile 9000-line heuristic implementation with Mesa's goto_if-based approach to prioritize correctness over human-readable output.
Zig's SPIR-V backend has been overhauled with new built-in types, improved execution mode handling, capabilities/extensions from CPU features, multi-threaded codegen, and object file linking, making it more useful for shader and GPU programming.