Merge pull request #1723 from degasus/dirty_flags

gl_rasterizer: Skip VB upload if the state is clean.
This commit is contained in:
bunnei
2018-11-26 18:33:22 -05:00
committed by GitHub
9 changed files with 60 additions and 6 deletions

View File

@ -1061,6 +1061,11 @@ public:
struct DirtyFlags {
bool vertex_attrib_format = true;
u32 vertex_array = 0xFFFFFFFF;
void OnMemoryWrite() {
vertex_array = 0xFFFFFFFF;
}
};
DirtyFlags dirty_flags;