mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-22 23:27:52 -05:00
gl_rasterizer_cache: Use dirty flags for color buffers
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user