VideoCommon: De-globalize VertexShaderManager class.

This commit is contained in:
Admiral H. Curtiss 2022-12-28 15:38:46 +01:00
parent 0900e68986
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

@ -59,12 +59,14 @@ public:
if (sub_command == MATINDEX_A)
{
VertexLoaderManager::g_needs_cp_xf_consistency_check = true;
VertexShaderManager::SetTexMatrixChangedA(value);
auto& system = Core::System::GetInstance();
system.GetVertexShaderManager().SetTexMatrixChangedA(value);
}
else if (sub_command == MATINDEX_B)
{
VertexLoaderManager::g_needs_cp_xf_consistency_check = true;
VertexShaderManager::SetTexMatrixChangedB(value);
auto& system = Core::System::GetInstance();
system.GetVertexShaderManager().SetTexMatrixChangedB(value);
}
else if (sub_command == VCD_LO || sub_command == VCD_HI)
{