mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-20 13:36:41 +00:00
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:
committed by
Baldur Karlsson
parent
26f9fc5c61
commit
6d95122189
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user