gl_rasterizer_cache: Use dirty flags for the depth buffer
This commit is contained in:
parent
179ee963db
commit
b683e41fca
4 changed files with 23 additions and 3 deletions
|
@ -1090,6 +1090,7 @@ public:
|
|||
|
||||
struct DirtyFlags {
|
||||
u8 color_buffer = 0xFF;
|
||||
bool zeta_buffer = true;
|
||||
|
||||
bool shaders = true;
|
||||
|
||||
|
@ -1098,6 +1099,7 @@ public:
|
|||
|
||||
void OnMemoryWrite() {
|
||||
color_buffer = 0xFF;
|
||||
zeta_buffer = true;
|
||||
shaders = true;
|
||||
vertex_array = 0xFFFFFFFF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue