diff options
| author | 2023-11-23 09:33:02 -0500 | |
|---|---|---|
| committer | 2023-11-23 09:33:02 -0500 | |
| commit | 453fd470307692b63c8395177fe0f911367466d9 (patch) | |
| tree | b369351ba43a53cad10e6aa62da6dd8acc3ab7d8 /src/video_core/query_cache | |
| parent | Merge pull request #12123 from merryhime/explicit-this (diff) | |
| download | yuzu-453fd470307692b63c8395177fe0f911367466d9.tar.gz yuzu-453fd470307692b63c8395177fe0f911367466d9.tar.xz yuzu-453fd470307692b63c8395177fe0f911367466d9.zip | |
query_cache: demote report synced unreachable to assert
Diffstat (limited to 'src/video_core/query_cache')
| -rw-r--r-- | src/video_core/query_cache/query_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/query_cache/query_cache.h b/src/video_core/query_cache/query_cache.h index 78b42b518..efa9adf7a 100644 --- a/src/video_core/query_cache/query_cache.h +++ b/src/video_core/query_cache/query_cache.h | |||
| @@ -266,7 +266,7 @@ void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type | |||
| 266 | return; | 266 | return; |
| 267 | } | 267 | } |
| 268 | if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] { | 268 | if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] { |
| 269 | UNREACHABLE(); | 269 | ASSERT(false); |
| 270 | return; | 270 | return; |
| 271 | } | 271 | } |
| 272 | query_base->value += streamer->GetAmmendValue(); | 272 | query_base->value += streamer->GetAmmendValue(); |