Merge pull request #13085 from TellowKrinkle/AutoSizeEFBScale

VideoCommon: Dirty pixel shader manager on efb scale changes
This commit is contained in:
JMC47 2024-10-01 10:53:05 -04:00 committed by GitHub
commit c88e48db19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -293,6 +293,10 @@ bool FramebufferManager::CreateEFBFramebuffer()
g_gfx->SetAndClearFramebuffer(m_efb_framebuffer.get(), {{0.0f, 0.0f, 0.0f, 0.0f}},
g_ActiveConfig.backend_info.bSupportsReversedDepthRange ? 1.0f :
0.0f);
// Pixel Shader uses EFB scale as a constant, dirty that in case it changed
Core::System::GetInstance().GetPixelShaderManager().Dirty();
return true;
}