summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_rasterizer.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-24 04:38:21 +0100
committerLiam <byteslice@airmail.cc>2024-02-26 17:16:14 +0100
commitd66ca8b73145c9e891415f11ce68125ff2b99b9b (patch)
tree70c4d8b3e8aa80222940fe6e490d62bf42bc0443 /src/video_core/renderer_vulkan/vk_rasterizer.cpp
parentMerge pull request #13164 from merryhime/reset-submodules (diff)
downloadyuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.gz
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.bz2
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.lz
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.xz
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.tar.zst
yuzu-d66ca8b73145c9e891415f11ce68125ff2b99b9b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 74f9f099e..6cfec2e6f 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -1061,7 +1061,9 @@ void RasterizerVulkan::UpdateDepthBias(Tegra::Engines::Maxwell3D::Regs& regs) {
if (device.IsExtDepthBiasControlSupported()) {
return true;
}
- if (!Settings::values.renderer_amdvlk_depth_bias_workaround) {
+ // Only activate this in Super Smash Brothers Ultimate
+ // Affects AMD cards using AMDVLK
+ if (program_id != 0x1006A800016E000ULL) {
return false;
}
// the base formulas can be obtained from here: