diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-02 09:25:15 -0500 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-02 09:25:15 -0500 |
| commit | 7f42af81ad657e339f5cba78487cb7422e49e9ae (patch) | |
| tree | 69c803ff2015596ec092aabec698f83039f1744c /src/video_core/renderer_opengl | |
| parent | a407703f6d29a5ab73328b4ededb12cf29b2758d (diff) | |
video_core: bump the shader cache versions for the FSEL lowering fix
The disk shader cache keeps the lowered native code. "shader: apply
FSEL's floating operand modifiers" (ef3ae4ae23) changed that code
without a version bump, so caches built before it keep programs that
drop FSEL's negate until the user deletes them by hand.
In Splatoon Raiders those stale programs leave the tutorial island and
the dock with no shadows (the depth linearization ends with
FSEL R0, -R0, 1.0, P and comes out negated), no aiming reticle and no
steam (particle quads pick their corners with FSEL +0.5 / -0.5 and
collapse to a point).
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 277cf222fa..df18f151f1 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -54,7 +54,7 @@ using VideoCommon::LoadPipelines; using VideoCommon::SerializePipeline; using Context = ShaderContext::Context; -constexpr u32 CACHE_VERSION = 15; +constexpr u32 CACHE_VERSION = 16; template <typename Container> auto MakeSpan(Container& container) { |
