Make sure pixel shaders pick up Initial EFB Scale
This commit is contained in:
parent
cf9a6f8477
commit
e2de281897
|
@ -65,7 +65,7 @@ void PixelShaderManager::Init()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dirty = true;
|
Dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PixelShaderManager::Dirty()
|
void PixelShaderManager::Dirty()
|
||||||
|
|
|
@ -362,6 +362,16 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx,
|
||||||
g_graphics_mod_manager = std::make_unique<GraphicsModManager>();
|
g_graphics_mod_manager = std::make_unique<GraphicsModManager>();
|
||||||
g_widescreen = std::make_unique<WidescreenManager>();
|
g_widescreen = std::make_unique<WidescreenManager>();
|
||||||
|
|
||||||
|
if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() ||
|
||||||
|
!g_perf_query->Initialize() || !g_presenter->Initialize() ||
|
||||||
|
!g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() ||
|
||||||
|
!g_bounding_box->Initialize() || !g_graphics_mod_manager->Initialize())
|
||||||
|
{
|
||||||
|
PanicAlertFmtT("Failed to initialize renderer classes");
|
||||||
|
Shutdown();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
auto& system = Core::System::GetInstance();
|
auto& system = Core::System::GetInstance();
|
||||||
auto& command_processor = system.GetCommandProcessor();
|
auto& command_processor = system.GetCommandProcessor();
|
||||||
command_processor.Init(system);
|
command_processor.Init(system);
|
||||||
|
@ -374,16 +384,6 @@ bool VideoBackendBase::InitializeShared(std::unique_ptr<AbstractGfx> gfx,
|
||||||
system.GetPixelShaderManager().Init();
|
system.GetPixelShaderManager().Init();
|
||||||
TMEM::Init();
|
TMEM::Init();
|
||||||
|
|
||||||
if (!g_vertex_manager->Initialize() || !g_shader_cache->Initialize() ||
|
|
||||||
!g_perf_query->Initialize() || !g_presenter->Initialize() ||
|
|
||||||
!g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() ||
|
|
||||||
!g_bounding_box->Initialize() || !g_graphics_mod_manager->Initialize())
|
|
||||||
{
|
|
||||||
PanicAlertFmtT("Failed to initialize renderer classes");
|
|
||||||
Shutdown();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
g_Config.VerifyValidity();
|
g_Config.VerifyValidity();
|
||||||
UpdateActiveConfig();
|
UpdateActiveConfig();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue