summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-21 03:22:20 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-06-21 03:24:47 +0200
commitd1812316e1b0f03af2ba10d4fe04be728e72725c (patch)
tree10fb4e292fdfc9346246895dc80343edc3ed766f /src/video_core/renderer_opengl
parentshader_cache: Correct versioning and size calculation. (diff)
downloadyuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar.gz
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar.bz2
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar.lz
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar.xz
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.tar.zst
yuzu-d1812316e1b0f03af2ba10d4fe04be728e72725c.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp2
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 02e217b8c..718703091 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -104,7 +104,7 @@ constexpr std::tuple<const char*, const char*, u32> GetPrimitiveDescription(GLen
std::size_t CalculateProgramSize(const GLShader::ProgramCode& program) {
constexpr std::size_t start_offset = 10;
constexpr u64 key = 0xE2400FFFFF07000FULL;
- constexpr u64 mask =0xFFFFFFFFFF7FFFFFULL;
+ constexpr u64 mask = 0xFFFFFFFFFF7FFFFFULL;
std::size_t offset = start_offset;
std::size_t size = start_offset * sizeof(u64);
while (offset < program.size()) {