r/GraphicsProgramming • u/LeonidaReforge • 5h ago
Graphics programmers wanted open-source runtime compatibility project
Hey everyone,
I'm maintaining LeonidaReforge, an open-source runtime compatibility and recompilation project with GTA VI compatibility as a long-term research objective.
One of our current engineering challenges is validating a graphics translation layer between Direct3D 12 and Vulkan, particularly across different GPU architectures and driver implementations.
Some of the technical challenges we're dealing with include:
- Mapping D3D12 root signatures and descriptor heaps to Vulkan resource bindings.
- Translating resource barriers and synchronization semantics.
- Shader translation and SPIR-V correctness.
- Wave32 and Wave64 execution semantics.
- Mesh shader execution and indirect dispatch.
- GPU memory management and resource lifetime.
- Swapchain initialization and frame presentation.
Our current approach is to validate individual operations through independently authored workloads, deterministic reference outputs and cross-vendor hardware testing.
For example, recent contributor testing on AMD RDNA2 and RDNA4 reported 234/251 and 235/251 passing shader tests respectively, with no failures and the remaining tests explicitly skipped. However, this does not establish full runtime or rendering compatibility.
I'd particularly like to discuss the following questions with experienced graphics programmers:
- How would you design a reliable reference oracle for validating translated GPU operations across different vendors?
- What strategies would you recommend for mapping D3D12 descriptor heaps and resource lifetime semantics to Vulkan?
- How would you distinguish shader translation bugs from driver-specific behavior?
- What validation methodology would you recommend before considering a first rendered frame genuinely correct?
I'm interested in discussing architectural decisions, implementation trade-offs and testing methodologies, particularly with people who have worked on graphics abstraction or compatibility layers.
If anyone is interested in examining the implementation or contributing to these specific engineering problems, the source code and technical coordination are public:
Repository: https://github.com/LeonidaReforge/Leonida
Technical roadmap: https://github.com/LeonidaReforge/Leonida/issues/99
The project is experimental and does not currently claim playable commercial-title compatibility. Contributions must respect intellectual property rights and use authorized materials.
AI disclosure: AI tools, including ChatGPT, are actively used in this project for code generation, technical analysis, code review assistance, documentation and development coordination. This post was also drafted with ChatGPT assistance. AI-assisted contributions are subject to testing and review requirements.
View all comments
•
u/AutoModerator 5h ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.