Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.

This commit is contained in:
Kelebek1 2022-10-10 20:32:38 +01:00
parent baacbcb930
commit bc29a3a188
8 changed files with 51 additions and 44 deletions

View file

@ -61,7 +61,7 @@ void SetupDirtyRenderTargets(Maxwell3D::DirtyState::Tables& tables) {
}
void SetupDirtyShaders(Maxwell3D::DirtyState::Tables& tables) {
FillBlock(tables[0], OFF(pipelines), NUM(pipelines) * Maxwell3D::Regs::MaxShaderProgram,
FillBlock(tables[0], OFF(pipelines), NUM(pipelines[0]) * Maxwell3D::Regs::MaxShaderProgram,
Shaders);
}
} // Anonymous namespace