diff options
| author | 2023-08-19 21:49:38 +0200 | |
|---|---|---|
| committer | 2023-09-23 23:05:30 +0200 | |
| commit | 2fea1b8407b66dd0e9ed1776c34dad043e1becf4 (patch) | |
| tree | 4a5ad2bc67d2f07c1fafd7d3d1afb8d8b473fb9a /src/video_core/engines | |
| parent | Query Cache: address issues (diff) | |
| download | yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.gz yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.tar.xz yuzu-2fea1b8407b66dd0e9ed1776c34dad043e1becf4.zip | |
Query Cache: Fix guest side sample counting
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 46b9c548a..32d767d85 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -586,12 +586,6 @@ void Maxwell3D::ProcessQueryCondition() { | |||
| 586 | } | 586 | } |
| 587 | 587 | ||
| 588 | void Maxwell3D::ProcessCounterReset() { | 588 | void Maxwell3D::ProcessCounterReset() { |
| 589 | #if ANDROID | ||
| 590 | if (!Settings::IsGPULevelHigh()) { | ||
| 591 | // This is problematic on Android, disable on GPU Normal. | ||
| 592 | return; | ||
| 593 | } | ||
| 594 | #endif | ||
| 595 | switch (regs.clear_report_value) { | 589 | switch (regs.clear_report_value) { |
| 596 | case Regs::ClearReport::ZPassPixelCount: | 590 | case Regs::ClearReport::ZPassPixelCount: |
| 597 | rasterizer->ResetCounter(VideoCommon::QueryType::ZPassPixelCount64); | 591 | rasterizer->ResetCounter(VideoCommon::QueryType::ZPassPixelCount64); |