Browse Source

query_cache: demote report synced unreachable to assert

nce_cpp
Liam 2 years ago
parent
commit
1e62aaf305
  1. 2
      src/video_core/query_cache/query_cache.h

2
src/video_core/query_cache/query_cache.h

@ -266,7 +266,7 @@ void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type
return; return;
} }
if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] { if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] {
UNREACHABLE();
ASSERT(false);
return; return;
} }
query_base->value += streamer->GetAmmendValue(); query_base->value += streamer->GetAmmendValue();

Loading…
Cancel
Save