diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-28 09:35:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 09:35:37 -0400 |
| commit | da04fbdc2e9ec53a0cb04a372bc5264deb0f125a (patch) | |
| tree | efa6396c6c43d84f046343efd41a0204244e0f53 /src/core/core.cpp | |
| parent | 821a9725354b3ebfc7977d4452a87db1333d6a02 (diff) | |
| parent | dcf5c4bec04a293aa5f11ddbe043a27e89018941 (diff) | |
Merge pull request #11402 from FernandoS27/depth-bias-control
Vulkan: Implement Depth Bias Control
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index e8300cd05d..08cbb89783 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"); } |
