Ver código fonte

query_cache: demote report synced unreachable to assert

Liam 2 anos atrás
pai
commit
453fd47030
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/video_core/query_cache/query_cache.h

+ 1 - 1
src/video_core/query_cache/query_cache.h

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