summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-04-22 14:04:59 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-04-29 00:18:21 +0200
commit56c9730a160b4123c327b26c940f53a2b6e6e8d3 (patch)
treedbc675630757f6f3ca94ee641b866418fae8f87f
parentAccelerate DMA: Use texture cache async downloads to perform the copies (diff)
downloadyuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar.gz
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar.bz2
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar.lz
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar.xz
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.tar.zst
yuzu-56c9730a160b4123c327b26c940f53a2b6e6e8d3.zip
-rw-r--r--src/video_core/engines/maxwell_3d.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 0932fadc2..2f986097f 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -223,6 +223,9 @@ void Maxwell3D::ProcessMacro(u32 method, const u32* base_start, u32 amount, bool
}
void Maxwell3D::RefreshParametersImpl() {
+ if (!Settings::IsGPULevelHigh()) {
+ return;
+ }
size_t current_index = 0;
for (auto& segment : macro_segments) {
if (segment.first == 0) {