mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Add a dirty flag for arraybases.
Only loop through and call getPointers when something has actually changed. Worth about 2-4% speedup un SMG over the previous commit.
This commit is contained in:
parent
f57517f1a0
commit
7df6982973
4 changed files with 16 additions and 0 deletions
|
@ -255,6 +255,7 @@ struct CPState final
|
|||
|
||||
// Attributes that actually belong to VertexLoaderManager:
|
||||
BitSet32 attr_dirty;
|
||||
bool bases_dirty;
|
||||
VertexLoaderBase* vertex_loaders[8];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue