Fix PerfQuery inconsistencies across backends. #11647
Merged
+20
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
This was discovered by someone on Twitter:
https://twitter.com/sup39x1207/status/1632813805213454337
I was promised a PR on Discord a few days ago but it never showed up, so here I am with it instead so it doesn't get forgotten. @TellowKrinkle
We're still not accurate to hardware but let's at least fix this obvious error...
dolphin/Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp
Line 83 in a6b1b2f
dolphin/Source/Core/VideoBackends/Vulkan/VKPerfQuery.cpp
Line 125 in a6b1b2f
dolphin/Source/Core/VideoBackends/D3D/D3DPerfQuery.cpp
Line 99 in a6b1b2f
dolphin/Source/Core/VideoBackends/D3D12/D3D12PerfQuery.cpp
Line 132 in a6b1b2f