Return quarter value for PerfQuery in all backends.

This commit is contained in:
Admiral H. Curtiss 2023-03-12 22:00:46 +01:00
parent 970ddf0ea0
commit ddd2b598da
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
3 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed); result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
} }
return result; return result / 4;
} }
void PerfQuery::FlushOne() void PerfQuery::FlushOne()

View File

@ -46,7 +46,7 @@ u32 Metal::PerfQuery::GetQueryResult(PerfQueryType type)
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed); result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
} }
return result; return result / 4;
} }
void Metal::PerfQuery::FlushResults() void Metal::PerfQuery::FlushResults()

View File

@ -80,7 +80,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed); result = m_results[PQG_EFB_COPY_CLOCKS].load(std::memory_order_relaxed);
} }
return result; return result / 4;
} }
// Implementations // Implementations