summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-07 06:09:39 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-07 20:22:28 +0100
commitb683e41fca8f88bf21085ccb3eee1dd6a91e293e (patch)
tree3b33a50ecc5725c4d42bf4adb2526352dc901629 /src/video_core/engines/maxwell_3d.h
parentgl_rasterizer_cache: Use dirty flags for color buffers (diff)
downloadyuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar.gz
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar.bz2
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar.lz
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar.xz
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.tar.zst
yuzu-b683e41fca8f88bf21085ccb3eee1dd6a91e293e.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 8d0e18d80..1f76aa670 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -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;
}