ShaderCache: Add a data version field
We can increment this to prevent people's shader caches from growing too large with shader changes.
This commit is contained in:
4
src/core/shader_cache_version.h
Normal file
4
src/core/shader_cache_version.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include "types.h"
|
||||
|
||||
static constexpr u32 SHADER_CACHE_VERSION = 1;
|
||||
Reference in New Issue
Block a user