mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-14 06:11:39 +00:00
VideoCommon: Dirty pixel shader manager on efb scale changes
This commit is contained in:
parent
c7cbac538a
commit
fd94ff252d
1 changed files with 4 additions and 0 deletions
|
@ -293,6 +293,10 @@ bool FramebufferManager::CreateEFBFramebuffer()
|
||||||
g_gfx->SetAndClearFramebuffer(m_efb_framebuffer.get(), {{0.0f, 0.0f, 0.0f, 0.0f}},
|
g_gfx->SetAndClearFramebuffer(m_efb_framebuffer.get(), {{0.0f, 0.0f, 0.0f, 0.0f}},
|
||||||
g_ActiveConfig.backend_info.bSupportsReversedDepthRange ? 1.0f :
|
g_ActiveConfig.backend_info.bSupportsReversedDepthRange ? 1.0f :
|
||||||
0.0f);
|
0.0f);
|
||||||
|
|
||||||
|
// Pixel Shader uses EFB scale as a constant, dirty that in case it changed
|
||||||
|
Core::System::GetInstance().GetPixelShaderManager().Dirty();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue