mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
ShaderCache: Don't create or load shader cache with Null backend
This commit is contained in:
parent
64515d0840
commit
c2fab7f016
@ -35,7 +35,7 @@ bool ShaderCache::Initialize()
|
|||||||
m_async_shader_compiler->ResizeWorkerThreads(g_ActiveConfig.GetShaderPrecompilerThreads());
|
m_async_shader_compiler->ResizeWorkerThreads(g_ActiveConfig.GetShaderPrecompilerThreads());
|
||||||
|
|
||||||
// Load shader and UID caches.
|
// Load shader and UID caches.
|
||||||
if (g_ActiveConfig.bShaderCache)
|
if (g_ActiveConfig.bShaderCache && m_api_type != APIType::Nothing)
|
||||||
{
|
{
|
||||||
LoadShaderCaches();
|
LoadShaderCaches();
|
||||||
LoadPipelineUIDCache();
|
LoadPipelineUIDCache();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user