Cache version

This commit is contained in:
Henrik Rydgård 2023-01-04 10:17:59 +01:00
parent 5cae5615ea
commit 3dbe69f585
2 changed files with 2 additions and 2 deletions

View file

@ -938,7 +938,7 @@ std::string ShaderManagerGLES::DebugGetShaderString(std::string id, DebugShaderT
// as sometimes these features might have an effect on the ID bits.
#define CACHE_HEADER_MAGIC 0x83277592
#define CACHE_VERSION 17
#define CACHE_VERSION 18
struct CacheHeader {
uint32_t magic;
uint32_t version;

View file

@ -499,7 +499,7 @@ VulkanGeometryShader *ShaderManagerVulkan::GetGeometryShaderFromModule(VkShaderM
// instantaneous.
#define CACHE_HEADER_MAGIC 0xff51f420
#define CACHE_VERSION 32
#define CACHE_VERSION 33
struct VulkanCacheHeader {
uint32_t magic;
uint32_t version;