mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-10 12:21:39 +00:00
VideoCommon: move xf state management to its own class, so changes can be detected in places other than VertexShaderManager
This commit is contained in:
parent
1a2d0882d0
commit
849a0c13b5
16 changed files with 470 additions and 299 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue