diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-14 01:58:46 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-02-06 22:20:57 -0300 |
commit | be4641c43f0c6c68d183549a9a8715ba6fde9c50 (patch) | |
tree | c923d382f2e9c27e4d92090c4c331fd99e0c7c47 /src/common/scm_rev.cpp.in | |
parent | a3703f5767332dfc5f7e8d37a1f715d8ccb76fcf (diff) |
gl_shader_disk_cache: Invalidate shader cache changes with CMake hash
Diffstat (limited to 'src/common/scm_rev.cpp.in')
-rw-r--r-- | src/common/scm_rev.cpp.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/scm_rev.cpp.in b/src/common/scm_rev.cpp.in index 2b1727769..d69038f65 100644 --- a/src/common/scm_rev.cpp.in +++ b/src/common/scm_rev.cpp.in @@ -11,6 +11,7 @@ #define BUILD_DATE "@BUILD_DATE@" #define BUILD_FULLNAME "@BUILD_FULLNAME@" #define BUILD_VERSION "@BUILD_VERSION@" +#define SHADER_CACHE_VERSION "@SHADER_CACHE_VERSION@" namespace Common { @@ -21,6 +22,7 @@ const char g_build_name[] = BUILD_NAME; const char g_build_date[] = BUILD_DATE; const char g_build_fullname[] = BUILD_FULLNAME; const char g_build_version[] = BUILD_VERSION; +const char g_shader_cache_version[] = SHADER_CACHE_VERSION; } // namespace |