Do not include Intel counters in the generic ones

At this point we don't have Intel GL counters. But the current logic
assumes there is only AMD ones (and that if it's not AMD's, it must be
the generic ones).
This commit is contained in:
Lionel Landwerlin
2018-10-23 14:22:25 +01:00
committed by Baldur Karlsson
parent 26f9fc5c61
commit 6d95122189
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ vector<CounterResult> VulkanReplay::FetchCounters(const vector<GPUCounter> &coun
vector<GPUCounter> vkCounters;
std::copy_if(counters.begin(), counters.end(), std::back_inserter(vkCounters),
[](const GPUCounter &c) { return !IsAMDCounter(c); });
[](const GPUCounter &c) { return IsGenericCounter(c); });
vector<CounterResult> ret;