Happy 303-Day! Get 30% off ABL3 or any plug-in (including bundles). Valid until March 30!
Shader caches contain modified game code, making the distribution of these files legally gray.
Link stepped onto the Great Plateau. The grass waved. The sun glinted. He swung his sword. He lit a torch.
Sometimes, your graphics card driver (NVIDIA/AMD) also caches shaders. If you update your GPU drivers, the driver may invalidate its own cache, forcing Yuzu to re-translate everything even if Yuzu’s cache exists. After a driver update, expect a temporary performance drop as the cache rebuilds.
The game sends a draw call (e.g., "Render water reflection"). Yuzu generates a unique "hash" (a digital fingerprint) for that shader. It checks your shader cache folder to see if that hash exists. yuzu shader cache work
Over its development history, Yuzu introduced several groundbreaking pipeline technologies to make shader caching faster and less intrusive. Asynchronous Shader Compilation
Modern games don't just send individual shaders; they send "pipelines"—a combination of shaders, blending modes, and vertex attributes. Compiling a pipeline is even more expensive than compiling a single shader.
When Yuzu emulates a Nintendo Switch game, the GPU must convert the game’s specific rendering commands into something your PC’s graphics card understands. This conversion process is called shader compilation . Shader caches contain modified game code, making the
“It’s a trade-off,” Mia explained on her blog. “Async removes stutter but can cause graphical glitches. The shader still gets cached, so the glitch only happens once per shader.”
Are you currently experiencing or just visual stuttering ? Share public link
Yuzu splits this process into two distinct caching mechanisms: 1. The Transferable Cache (Disk Cache) The sun glinted
Additionally, you may find a nvidia subfolder containing GLCache , which is used by the OpenGL renderer. On Linux systems (such as the Steam Deck), the cache may be located in paths like ~/.var/app/org.yuzu_emu.yuzu/cache/mesa_shader_cache .
Building your own cache naturally through gameplay or using Asynchronous Shader Compilation remains the safest and most stable method. Optimal Settings for Best Performance
If you want to avoid the "building" phase (and the initial stutter), you can download pre-built shader caches from the community.