summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-28 15:35:37 +0200
committerGitHub <noreply@github.com>2023-09-28 15:35:37 +0200
commit7bae22a3ca55e2e4ed985fed1cf2abe848de60c2 (patch)
treeefa6396c6c43d84f046343efd41a0204244e0f53 /src/core/core.cpp
parentMerge pull request #11590 from liamwhite/attribute (diff)
parentVulkan: add temporary workaround for AMDVLK (diff)
downloadyuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar.gz
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar.bz2
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar.lz
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar.xz
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.tar.zst
yuzu-7bae22a3ca55e2e4ed985fed1cf2abe848de60c2.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index e8300cd05..08cbb8978 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -381,6 +381,10 @@ struct System::Impl {
room_member->SendGameInfo(game_info);
}
+ // Workarounds:
+ // Activate this in Super Smash Brothers Ultimate, it only affects AMD cards using AMDVLK
+ Settings::values.renderer_amdvlk_depth_bias_workaround = program_id == 0x1006A800016E000ULL;
+
status = SystemResultStatus::Success;
return status;
}
@@ -440,6 +444,9 @@ struct System::Impl {
room_member->SendGameInfo(game_info);
}
+ // Workarounds
+ Settings::values.renderer_amdvlk_depth_bias_workaround = false;
+
LOG_DEBUG(Core, "Shutdown OK");
}