BPFunctions: Move GX viewport conversion to VideoCommon

This commit is contained in:
Stenzek
2018-01-21 22:04:15 +10:00
parent a2d2a0a356
commit 5359396099
12 changed files with 111 additions and 165 deletions

View File

@ -130,6 +130,7 @@ static void BPWritten(const BPCmd& bp)
case BPMEM_SCISSORBR: // Scissor Rectable Bottom, Right
case BPMEM_SCISSOROFFSET: // Scissor Offset
SetScissor();
SetViewport();
VertexShaderManager::SetViewportChanged();
GeometryShaderManager::SetViewportChanged();
return;
@ -1415,6 +1416,7 @@ void BPReload()
// note that PixelShaderManager is already covered since it has its own DoState.
SetGenerationMode();
SetScissor();
SetViewport();
SetDepthMode();
SetBlendMode();
OnPixelFormatChange();