gl_rasterizer_cache: Use dirty flags for color buffers
This commit is contained in:
parent
0ab17ab406
commit
179ee963db
4 changed files with 24 additions and 4 deletions
|
@ -1089,12 +1089,15 @@ public:
|
|||
MemoryManager& memory_manager;
|
||||
|
||||
struct DirtyFlags {
|
||||
u8 color_buffer = 0xFF;
|
||||
|
||||
bool shaders = true;
|
||||
|
||||
bool vertex_attrib_format = true;
|
||||
u32 vertex_array = 0xFFFFFFFF;
|
||||
|
||||
void OnMemoryWrite() {
|
||||
color_buffer = 0xFF;
|
||||
shaders = true;
|
||||
vertex_array = 0xFFFFFFFF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue