aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/writable_event.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-20 20:09:57 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-21 00:41:03 -0300
commit5f0b72553b29e6e8f9c08daf2b0ca370f2680b08 (patch)
tree920ed6ec21b438894b7caeef0a946dbfc2ead10a /src/core/hle/kernel/writable_event.cpp
parent0f02201fb33fd73be2516daa5acba0a72bfc494d (diff)
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
Setting __GL_SHADER_DISK_CACHE_PATH we can force the cache directory to be in yuzu's user directory to stop commonly distributed malware from deleting our driver shader cache. And by setting __GL_SHADER_DISK_CACHE_SKIP_CLEANUP we can have an unbounded shader cache size. This has only been implemented on Windows, mostly because previous tests didn't seem to work on Linux. Disable the precompiled cache on Nvidia's driver. There's no need to hide information the driver already has in its own cache.
Diffstat (limited to 'src/core/hle/kernel/writable_event.cpp')
0 files changed, 0 insertions, 0 deletions