summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-06 07:58:43 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-07 20:13:12 +0100
commit0ab17ab4062278ceed3a3dc28796493280e6d0a1 (patch)
tree26c4be1650fd1f554047f6179f31d3f2f8ddf528 /src/video_core/engines/maxwell_3d.h
parentMerge pull request #1988 from lioncash/res (diff)
downloadyuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.gz
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.bz2
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.lz
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.xz
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.zst
yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 0faff6fdf..d50e5a126 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1089,10 +1089,13 @@ public:
MemoryManager& memory_manager;
struct DirtyFlags {
+ bool shaders = true;
+
bool vertex_attrib_format = true;
u32 vertex_array = 0xFFFFFFFF;
void OnMemoryWrite() {
+ shaders = true;
vertex_array = 0xFFFFFFFF;
}
};