gl_rasterizer: Skip VAO binding if the state is clean.

This commit is contained in:
Markus Wick
2018-11-06 19:15:44 +01:00
parent 0590dd2971
commit 359db6a673
3 changed files with 21 additions and 2 deletions

View File

@ -983,6 +983,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;