summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-11-06 21:26:27 +0100
committerMarkus Wick <markus@selfnet.de>2018-11-17 14:28:54 +0100
commit97f5c4ffd3950994b852b287e1d24f4766e53bea (patch)
treed2e2bc62afd33c68f5a601705782b26fbbb4f35f /src/video_core/engines/maxwell_3d.h
parentMerge pull request #1678 from FearlessTobi/amiibo-hotkeys (diff)
downloadyuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.gz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.bz2
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.lz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.xz
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.tar.zst
yuzu-97f5c4ffd3950994b852b287e1d24f4766e53bea.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/maxwell_3d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 91ca57883..0848b7121 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1014,6 +1014,11 @@ public:
struct DirtyFlags {
bool vertex_attrib_format = true;
+ u32 vertex_array = 0xFFFFFFFF;
+
+ void OnMemoryWrite() {
+ vertex_array = 0xFFFFFFFF;
+ }
};
DirtyFlags dirty_flags;