summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-10-07 12:25:04 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-10-09 19:32:59 -0700
commitffed23c059f52dfbe1dbd089d6861c68b8960035 (patch)
treefccdfd4a0887a6a46f15bda34f81bb39236956c8 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent05f3bbfa4d22bf50e803dfb1c75657e1a9f953a7 (diff)
Simplify saving CP state
Rather than makring some parts of VertexLoaderManager dirty in some places and some in others, do it all in VideoState. Also, since CPState no longer contains pointers/non-CP data after d039b1bc0dfaba2a88036468b6d971bb1d7e463d, we can just use p.Do on it instead of manually saving each field.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index bb843a6120..08dbe8a4d5 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -123,6 +123,7 @@ struct entry
void MarkAllDirty()
{
+ g_bases_dirty = true;
g_main_vat_dirty = BitSet8::AllTrue(8);
g_preprocess_vat_dirty = BitSet8::AllTrue(8);
}