VideoCommon: Rework scissor handling

This increases accuracy, fixing the white rendering in Major Minor's Majestic March.  However, the hardware backends can only have one viewport and scissor rectangle at a time, while sometimes multiple are needed to accurately emulate what is happening.  If possible, this will need to be fixed later.
This commit is contained in:
Pokechu22
2021-11-12 11:48:26 -08:00
parent 4595b89ad8
commit 076392a0f6
6 changed files with 283 additions and 48 deletions

View File

@ -298,7 +298,7 @@ void VertexShaderManager::SetConstants()
}
dirty = true;
BPFunctions::SetViewport();
BPFunctions::SetScissorAndViewport();
}
if (bProjectionChanged || g_freelook_camera.GetController()->IsDirty())