gl_rasterizer: Skip VAO binding if the state is clean.
This commit is contained in:
parent
0590dd2971
commit
359db6a673
3 changed files with 21 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue