yuzu-fork/src/video_core
ReinUsesLisp 51512d01d8 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.
2021-01-21 00:41:03 -03:00
..
buffer_cache video_core: Resolve -Wdocumentation warnings 2021-01-17 02:44:21 -05:00
command_classes common/bit_util: Replace CLZ/CTZ operations with standardized ones 2021-01-15 02:15:32 -05:00
engines common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT 2021-01-15 16:27:28 -03:00
host_shaders host_shaders: Add Vulkan assembler compute shaders 2020-12-30 02:03:50 -03:00
macro video_core: Remove unnecessary enum class casting in logging messages 2020-12-07 00:41:50 -05:00
renderer_opengl renderer_opengl: Avoid precompiled cache and force NV GL cache directory 2021-01-21 00:41:03 -03:00
renderer_vulkan vk_texture_cache: Use Download memory types for texture flushes 2021-01-15 16:19:40 -03:00
shader renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
texture_cache texture_cache/util: Resolve -Wsign-compare warning 2021-01-17 02:47:48 -05:00
textures common/alignment: Rename AlignBits to AlignUpLog2 2021-01-15 04:13:33 -03:00
vulkan_common Merge pull request #5745 from lioncash/documentation 2021-01-17 05:37:17 -03:00
cdma_pusher.cpp common/bit_util: Replace CLZ/CTZ operations with standardized ones 2021-01-15 02:15:32 -05:00
cdma_pusher.h common/bit_util: Replace CLZ/CTZ operations with standardized ones 2021-01-15 02:15:32 -05:00
CMakeLists.txt Merge pull request #5262 from ReinUsesLisp/buffer-base 2021-01-16 19:48:26 -03:00
compatible_formats.cpp gl_texture_cache: Avoid format views on Intel and AMD 2021-01-04 02:06:40 -03:00
compatible_formats.h gl_texture_cache: Avoid format views on Intel and AMD 2021-01-04 02:06:40 -03:00
delayed_destruction_ring.h video_core: Add a delayed destruction ring abstraction 2020-12-30 02:10:19 -03:00
dirty_flags.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
dirty_flags.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
dma_pusher.cpp video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
dma_pusher.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
fence_manager.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
framebuffer_config.h video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. 2020-12-28 16:33:48 -08:00
gpu.cpp video_core: gpu: Implement synchronous mode using threaded GPU. 2020-12-28 16:33:48 -08:00
gpu.h common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT 2021-01-15 16:27:28 -03:00
gpu_thread.cpp gpu: gpu_thread: Ensure MicroProfile is shutdown on exit. 2020-12-28 21:33:34 -08:00
gpu_thread.h video_core: gpu: Implement synchronous mode using threaded GPU. 2020-12-28 16:33:48 -08:00
guest_driver.cpp gl_shader_cache: Rework shader cache and remove post-specializations 2020-03-09 18:40:06 -03:00
guest_driver.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
memory_manager.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
memory_manager.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
morton.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
morton.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
query_cache.h video_core: Resolve more variable shadowing scenarios pt.3 2020-12-05 16:02:23 -05:00
rasterizer_accelerated.cpp core: memory: Move to Core::Memory namespace. 2020-04-17 00:59:28 -04:00
rasterizer_accelerated.h core: memory: Move to Core::Memory namespace. 2020-04-17 00:59:28 -04:00
rasterizer_interface.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
renderer_base.cpp video_core: Initialize renderer with a GPU 2020-08-22 01:51:45 -03:00
renderer_base.h render_base: Make use of [[nodiscard]] where applicable 2020-11-17 07:19:12 -05:00
shader_cache.h shader_cache: Make use of std::erase_if 2020-07-14 15:49:15 -04:00
shader_notify.cpp Fix style issues 2020-07-18 14:24:32 +10:00
shader_notify.h async shaders 2020-07-17 14:24:57 +10:00
surface.cpp video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
surface.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
video_core.cpp video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. 2020-12-28 16:33:48 -08:00
video_core.h Frontend/GPU: Refactor context management 2020-03-24 21:03:42 -06:00