diff options
| author | 2023-08-04 03:32:30 +0200 | |
|---|---|---|
| committer | 2023-09-23 23:05:29 +0200 | |
| commit | f1a2e367113518b277f34ffbb04499882c3b6051 (patch) | |
| tree | 0920a98bd359b9207130d01f6df4ae5135ec805c /src/video_core/gpu.cpp | |
| parent | Query Cache: Setup Base rework (diff) | |
| download | yuzu-f1a2e367113518b277f34ffbb04499882c3b6051.tar.gz yuzu-f1a2e367113518b277f34ffbb04499882c3b6051.tar.xz yuzu-f1a2e367113518b277f34ffbb04499882c3b6051.zip | |
Query Cachge: Fully rework Vulkan's query cache
Diffstat (limited to 'src/video_core/gpu.cpp')
| -rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index c192e33b2..11549d448 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp | |||
| @@ -102,7 +102,8 @@ struct GPU::Impl { | |||
| 102 | 102 | ||
| 103 | /// Signal the ending of command list. | 103 | /// Signal the ending of command list. |
| 104 | void OnCommandListEnd() { | 104 | void OnCommandListEnd() { |
| 105 | rasterizer->ReleaseFences(); | 105 | rasterizer->ReleaseFences(false); |
| 106 | Settings::UpdateGPUAccuracy(); | ||
| 106 | } | 107 | } |
| 107 | 108 | ||
| 108 | /// Request a host GPU memory flush from the CPU. | 109 | /// Request a host GPU memory flush from the CPU. |
| @@ -220,6 +221,7 @@ struct GPU::Impl { | |||
| 220 | /// This can be used to launch any necessary threads and register any necessary | 221 | /// This can be used to launch any necessary threads and register any necessary |
| 221 | /// core timing events. | 222 | /// core timing events. |
| 222 | void Start() { | 223 | void Start() { |
| 224 | Settings::UpdateGPUAccuracy(); | ||
| 223 | gpu_thread.StartThread(*renderer, renderer->Context(), *scheduler); | 225 | gpu_thread.StartThread(*renderer, renderer->Context(), *scheduler); |
| 224 | } | 226 | } |
| 225 | 227 | ||