diff options
| author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2022-12-30 14:50:07 +0100 |
|---|---|---|
| committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-01-05 21:02:44 +0100 |
| commit | ef0b585b0b0fc9c7bf5c1f27bf7b77cd49372fb6 (patch) | |
| tree | e43ef31843da210165c529494652014a660268e6 /src/yuzu_cmd/config.cpp | |
| parent | 53e9f8a75df53786126eba3545fc58b7b8a855a1 (diff) | |
video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines
As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk.
These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 1e45e57bcf..b2d690bb6c 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -321,6 +321,7 @@ void Config::ReadValues() { ReadSetting("Renderer", Settings::values.accelerate_astc); ReadSetting("Renderer", Settings::values.use_fast_gpu_time); ReadSetting("Renderer", Settings::values.use_pessimistic_flushes); + ReadSetting("Renderer", Settings::values.use_vulkan_driver_pipeline_cache); ReadSetting("Renderer", Settings::values.bg_red); ReadSetting("Renderer", Settings::values.bg_green); |
