diff --git a/src/video_core/shader/shader_cache.h b/src/video_core/shader/shader_cache.h index 690a4c1b8..16d6bcf82 100644 --- a/src/video_core/shader/shader_cache.h +++ b/src/video_core/shader/shader_cache.h @@ -14,8 +14,7 @@ namespace Pica::Shader { template using ShaderCacheResult = std::pair>; -template +template class ShaderCache { public: ShaderCache() {} @@ -51,9 +50,7 @@ public: * program buffer from the previous shader, which is hashed into the config, resulting several * different config values from the same shader program. */ -template (*CodeGenerator)(const Pica::Shader::ShaderSetup&, - const KeyType&)> +template class ShaderDoubleCache { public: ShaderDoubleCache() = default;