diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 06:09:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 20:22:28 +0100 |
commit | b683e41fca8f88bf21085ccb3eee1dd6a91e293e (patch) | |
tree | 3b33a50ecc5725c4d42bf4adb2526352dc901629 /src/video_core/engines/maxwell_3d.h | |
parent | gl_rasterizer_cache: Use dirty flags for color buffers (diff) | |
download | yuzu-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.h | 2 |
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; } |