[new]: Shader Cache Yuzu
Optimization through Persistence: The Role of Shader Caching in the Yuzu Emulator Introduction
The Two Types of Caches (Don't Confuse Them)
The Cache:
Once a shader is compiled, it is saved to your disk. The next time the same effect occurs, Yuzu pulls it from the cache instantly, ensuring smooth performance. How to Manage Your Shaders shader cache yuzu
- Shader Compilation: When a game is run on Yuzu, the emulator needs to compile the game's shaders into a format that the PC's GPU can understand.
- Cache Check: Before compiling a shader, Yuzu checks if it already exists in the shader cache.
- Cache Hit: If the shader is found in the cache, Yuzu can skip recompiling it and use the cached version instead.
- Cache Miss: If the shader is not found in the cache, Yuzu compiles it and stores it in the cache for future use.