diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-18 06:07:01 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-21 22:32:48 +0200 |
commit | 675f23aedc9a3a99925068e952cbcb3faf88296a (patch) | |
tree | 01b3101c3837428903bb91f29d02fa2c099468a6 /src/video_core/renderer_opengl/gl_shader_disk_cache.cpp | |
parent | shader_bytecode: Add SULD encoding (diff) | |
download | yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.gz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.bz2 yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.lz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.xz yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.tar.zst yuzu-675f23aedc9a3a99925068e952cbcb3faf88296a.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_disk_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_disk_cache.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp index f141c4e3b..02b4dd234 100644 --- a/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_disk_cache.cpp @@ -382,12 +382,6 @@ std::optional<ShaderDiskCacheDecompiled> ShaderDiskCacheOpenGL::LoadDecompiledEn } } - bool shader_viewport_layer_array{}; - if (!LoadObjectFromPrecompiled(shader_viewport_layer_array)) { - return {}; - } - entry.entries.shader_viewport_layer_array = shader_viewport_layer_array; - u64 shader_length{}; if (!LoadObjectFromPrecompiled(shader_length)) { return {}; @@ -464,10 +458,6 @@ bool ShaderDiskCacheOpenGL::SaveDecompiledFile(u64 unique_identifier, const std: } } - if (!SaveObjectToPrecompiled(entries.shader_viewport_layer_array)) { - return false; - } - if (!SaveObjectToPrecompiled(static_cast<u64>(entries.shader_length))) { return false; } |