Merge pull request #1654 from degasus/dirty_flags

gl_rasterizer: Skip VAO binding if the state is clean.
This commit is contained in:
bunnei
2018-11-11 08:17:57 -08:00
committed by GitHub
4 changed files with 37 additions and 7 deletions

View File

@ -1004,6 +1004,12 @@ public:
State state{};
MemoryManager& memory_manager;
struct DirtyFlags {
bool vertex_attrib_format = true;
};
DirtyFlags dirty_flags;
/// Reads a register value located at the input method address
u32 GetRegisterValue(u32 method) const;