diff options
| author | Tilka <tilkax@gmail.com> | 2023-11-28 02:04:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-28 02:04:26 +0000 |
| commit | b8a897fda76e8979b82472cfd7caf8911bef9145 (patch) | |
| tree | 0c1a7ddc01c583f334ff63528be98108eb0d9588 /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 074de243e30eeda7fedf2971161a82279a36a2e0 (diff) | |
| parent | 095f946b6648a30faed9601538cf8a2bf8bf8f59 (diff) | |
Merge pull request #12328 from iwubcode/xf_state_manager
VideoCommon: move xf state management to its own class
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 4d43c6e66a..f0de922302 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -27,8 +27,8 @@ #include "VideoCommon/Statistics.h" #include "VideoCommon/VertexLoaderBase.h" #include "VideoCommon/VertexLoaderManager.h" -#include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/XFMemory.h" +#include "VideoCommon/XFStateManager.h" #include "VideoCommon/XFStructs.h" namespace OpcodeDecoder @@ -60,13 +60,13 @@ public: { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; auto& system = Core::System::GetInstance(); - system.GetVertexShaderManager().SetTexMatrixChangedA(value); + system.GetXFStateManager().SetTexMatrixChangedA(value); } else if (sub_command == MATINDEX_B) { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; auto& system = Core::System::GetInstance(); - system.GetVertexShaderManager().SetTexMatrixChangedB(value); + system.GetXFStateManager().SetTexMatrixChangedB(value); } else if (sub_command == VCD_LO || sub_command == VCD_HI) { |
