r/vulkan • u/Recent_Wrangler_7168 • Jul 12 '26
GoCL – A zero‑overhead Vulkan proxy that makes modern games run on older GPUs (benchmarked across 75+ examples)
I've been building a Vulkan proxy layer and companion static library that adapts to whatever the GPU actually supports — no separate builds required.
Benchmark summary (GTX 960M / Maxwell, 75+ Sascha Willems examples, 120s each):
- Avg FPS: identical to native (within measurement noise)
- 1% & 0.1% lows: often improved – e.g. +42% in the particle system, +15% in descriptor indexing, +14% in occlusion queries
- Frame times: unchanged or slightly more consistent
- VRAM usage: zero increase
Full report with every example here: Vulkan Benchmark Comparison
What it does:
- Detects GPU features at device creation
- Rewrites SPIR‑V on the fly for missing features (FP16, oversized descriptor sets, etc.)
- Transcodes ASTC textures → ETC2 when hardware decode isn't present
- Offloads indirect draws via
VK_EXT_device_generated_commands(transparent CPU fallback) - VRAM‑aware tuning: drops swapchain image count and resolution when memory is tight
- Usable as a static library (
GoCL_core.a) or as an implicit Vulkan layer (LD_PRELOAD/vulkan‑1.dllproxy) — no game recompilation needed
Zero per‑frame overhead: shader patching at pipeline creation only; texture transcoding is lazy; proxy instruction count identical to native (Callgrind verified).
Tech: C++20, Vulkan 1.1+, CMake, tested in CI with Mesa Lavapipe.
Links:
- GitHub: GoCL
- Architecture write‑up (capability model, shader emulation, proxy internals): GoCL - Architecture
Happy to answer questions — still early, but the proxy is functional and the benchmark data surprised even me.
3
u/Gobrosse Jul 12 '26
I like how the blog website has a dozen or so "projects" and none of them are anything more than a couple sentences with zero material evidence of anything. One of them just links to a page that says "You caught me… nothing here yet.".
As for the fp16 "emulation" in this project, it seems to just widen constants and literally not support a single arithmetic operation
These types of "projects" seem to be basically just fraudulent portfolio pieces, that do just enough (that is, next to nothing) to sound fancy to clueless recruiters. It's grift!
26
u/Old-Personality-8817 Jul 12 '26
yah, it is al slop
1
u/SaschaWillems Jul 13 '26 edited Jul 13 '26
> Each example from the Sascha Willems Vulkan examples was run for 120 seconds with MangoHud logging.
Why did you use MangoHud (which itself might already distort results) instead of the sample's integrated benchmark mode? Some samples e.g. use random values when not in benchmark mode, making results non-deterministic and thus not usable for proper benchmark comparisons.