diff --git a/Ryujinx.Graphics.Gpu/Engine/MethodClear.cs b/Ryujinx.Graphics.Gpu/Engine/MethodClear.cs index 82c4a9905c..ea33304a0b 100644 --- a/Ryujinx.Graphics.Gpu/Engine/MethodClear.cs +++ b/Ryujinx.Graphics.Gpu/Engine/MethodClear.cs @@ -20,12 +20,17 @@ namespace Ryujinx.Graphics.Gpu.Engine return; } - // Scissor affects clears aswell. + // Scissor and rasterizer discard also affect clears. if (state.QueryModified(MethodOffset.ScissorState)) { UpdateScissorState(state); } + if (state.QueryModified(MethodOffset.RasterizeEnable)) + { + UpdateRasterizerState(state); + } + int index = (argument >> 6) & 0xf; UpdateRenderTargetState(state, useControl: false, singleUse: index);