diff options
| author | 2021-12-18 13:57:14 +0800 | |
|---|---|---|
| committer | 2021-12-18 13:57:14 +0800 | |
| commit | e49184e6069a9d791d2df3c1958f5c4b1187e124 (patch) | |
| tree | b776caf722e0be0e680f67b0ad0842628162ef1c /src/video_core/shader_notify.cpp | |
| parent | Implement convert legacy to generic (diff) | |
| parent | Merge pull request #7570 from ameerj/favorites-expanded (diff) | |
| download | yuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.tar.gz yuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.tar.xz yuzu-e49184e6069a9d791d2df3c1958f5c4b1187e124.zip | |
Merge branch 'yuzu-emu:master' into convert_legacy
Diffstat (limited to 'src/video_core/shader_notify.cpp')
| -rw-r--r-- | src/video_core/shader_notify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp index dc6995b46..bcaf5f575 100644 --- a/src/video_core/shader_notify.cpp +++ b/src/video_core/shader_notify.cpp | |||
| @@ -18,7 +18,7 @@ int ShaderNotify::ShadersBuilding() noexcept { | |||
| 18 | const int now_complete = num_complete.load(std::memory_order::relaxed); | 18 | const int now_complete = num_complete.load(std::memory_order::relaxed); |
| 19 | const int now_building = num_building.load(std::memory_order::relaxed); | 19 | const int now_building = num_building.load(std::memory_order::relaxed); |
| 20 | if (now_complete == now_building) { | 20 | if (now_complete == now_building) { |
| 21 | const auto now = std::chrono::high_resolution_clock::now(); | 21 | const auto now = std::chrono::steady_clock::now(); |
| 22 | if (completed && num_complete == num_when_completed) { | 22 | if (completed && num_complete == num_when_completed) { |
| 23 | if (now - complete_time > TIME_TO_STOP_REPORTING) { | 23 | if (now - complete_time > TIME_TO_STOP_REPORTING) { |
| 24 | report_base = now_complete; | 24 | report_base = now_complete; |