mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 05:00:48 -07:00
Implement GPU scissors (#1058)
* Implement GPU scissors * Remove unused using * Add missing changes for Clear
This commit is contained in:
@ -13,6 +13,12 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||
/// <param name="argument">Method call argument</param>
|
||||
private void Clear(GpuState state, int argument)
|
||||
{
|
||||
// Scissor affects clears aswell.
|
||||
if (state.QueryModified(MethodOffset.ScissorState))
|
||||
{
|
||||
UpdateScissorState(state);
|
||||
}
|
||||
|
||||
UpdateRenderTargetState(state, useControl: false);
|
||||
|
||||
TextureManager.CommitGraphicsBindings();
|
||||
|
Reference in New Issue
Block a user