From a8d82a2a047695a560955826f8688c98f1a198f1 Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi Date: Sat, 3 Sep 2022 14:44:40 +0200 Subject: [PATCH] Include gl_shader_util in shader cache version hash calculation --- CMakeModules/GenerateSCMRev.cmake | 2 ++ src/common/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake index 3ee4f65054..a011c6cbf8 100644 --- a/CMakeModules/GenerateSCMRev.cmake +++ b/CMakeModules/GenerateSCMRev.cmake @@ -68,6 +68,8 @@ set(HASH_FILES "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.h" "${VIDEO_CORE}/renderer_opengl/gl_shader_gen.cpp" "${VIDEO_CORE}/renderer_opengl/gl_shader_gen.h" + "${VIDEO_CORE}/renderer_opengl/gl_shader_util.cpp" + "${VIDEO_CORE}/renderer_opengl/gl_shader_util.h" "${VIDEO_CORE}/shader/shader.cpp" "${VIDEO_CORE}/shader/shader.h" "${VIDEO_CORE}/pica.cpp" diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 29338dbe92..2bfea7175b 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -32,6 +32,8 @@ add_custom_command(OUTPUT scm_rev.cpp "${VIDEO_CORE}/renderer_opengl/gl_shader_disk_cache.h" "${VIDEO_CORE}/renderer_opengl/gl_shader_gen.cpp" "${VIDEO_CORE}/renderer_opengl/gl_shader_gen.h" + "${VIDEO_CORE}/renderer_opengl/gl_shader_util.cpp" + "${VIDEO_CORE}/renderer_opengl/gl_shader_util.h" "${VIDEO_CORE}/shader/shader.cpp" "${VIDEO_CORE}/shader/shader.h" "${VIDEO_CORE}/pica.cpp"