summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-04-29 20:46:01 +0200
committerGitHub <noreply@github.com>2023-04-29 20:46:01 +0200
commitfe57f3967639616142889bf1b638117ca6c879cf (patch)
tree43879297dd91ac1ab824010610e724c37ec3cb95 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #10051 from liamwhite/surface-capabilities (diff)
parentTexture Cache: Release stagging buffers on tick frame (diff)
downloadyuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar.gz
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar.bz2
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar.lz
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar.xz
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.tar.zst
yuzu-fe57f3967639616142889bf1b638117ca6c879cf.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-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) {