VideoCommon: De-globalize VertexShaderManager class.

This commit is contained in:
Admiral H. Curtiss 2022-12-28 15:38:46 +01:00
commit 50625728e0
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
19 changed files with 151 additions and 101 deletions

View file

@ -22,6 +22,7 @@
#include "VideoCommon/Fifo.h"
#include "VideoCommon/PixelEngine.h"
#include "VideoCommon/PixelShaderManager.h"
#include "VideoCommon/VertexShaderManager.h"
namespace Core
{
@ -45,6 +46,7 @@ struct System::Impl
PixelShaderManager m_pixel_shader_manager;
SerialInterface::SerialInterfaceState m_serial_interface_state;
Sram m_sram;
VertexShaderManager m_vertex_shader_manager;
VideoInterface::VideoInterfaceState m_video_interface_state;
};
@ -161,6 +163,11 @@ Sram& System::GetSRAM() const
return m_impl->m_sram;
}
VertexShaderManager& System::GetVertexShaderManager() const
{
return m_impl->m_vertex_shader_manager;
}
VideoInterface::VideoInterfaceState& System::GetVideoInterfaceState() const
{
return m_impl->m_video_interface_state;