Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nvidia_flags: Add missing header guard | Lioncash | 2021-04-13 | 1 | -0/+2 |
| | | | | Prevents potential inclusion compilation errors. | ||||
* | renderer_opengl: Avoid precompiled cache and force NV GL cache directory | ReinUsesLisp | 2021-01-21 | 1 | -0/+10 |
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. |