mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
VideoCommon: Move VertexLoaderManager logic out of CPState
This commit is contained in:
parent
e4605fa399
commit
d039b1bc0d
7 changed files with 54 additions and 31 deletions
|
@ -646,12 +646,6 @@ struct CPState final
|
|||
TVtxDesc vtx_desc;
|
||||
// Most games only use the first VtxAttr and simply reconfigure it all the time as needed.
|
||||
std::array<VAT, CP_NUM_VAT_REG> vtx_attr{};
|
||||
|
||||
// Attributes that actually belong to VertexLoaderManager:
|
||||
BitSet32 attr_dirty{};
|
||||
bool bases_dirty = false;
|
||||
VertexLoaderBase* vertex_loaders[CP_NUM_VAT_REG]{};
|
||||
int last_id = 0;
|
||||
};
|
||||
static_assert(std::is_trivially_copyable_v<CPState>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue