diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs index 795a1f2ea..275ec9228 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -793,22 +793,24 @@ namespace Ryujinx.Graphics.Vulkan } bool depthBiasEnable = (enables != PolygonModeMask.None) && (factor != 0 && units != 0); + bool changed = false; if (_newState.DepthBiasEnable != depthBiasEnable) { _newState.DepthBiasEnable = depthBiasEnable; + changed = true; } if (depthBiasEnable) { DynamicState.SetDepthBias(factor, units, clamp); - } - else - { - DynamicState.SetDepthBias(0, 0, 0); + changed = true; } - SignalStateChange(); + if (changed) + { + SignalStateChange(); + } } public void SetDepthClamp(bool clamp)