summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-11 17:17:57 +0100
committerGitHub <noreply@github.com>2018-11-11 17:17:57 +0100
commit8ea62615475f97ce76e047d2e48e817635071bad (patch)
tree92a561e431acb2e1f6d1d4434ddb55acde4e5181 /src/video_core/engines/maxwell_3d.h
parentMerge pull request #1656 from ogniK5377/message-queue (diff)
parentgl_rasterizer: Skip VAO binding if the state is clean. (diff)
downloadyuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar.gz
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar.bz2
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar.lz
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar.xz
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.tar.zst
yuzu-8ea62615475f97ce76e047d2e48e817635071bad.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 0509ba3a2..557795d0f 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1004,6 +1004,12 @@ public:
State state{};
MemoryManager& memory_manager;
+ struct DirtyFlags {
+ bool vertex_attrib_format = true;
+ };
+
+ DirtyFlags dirty_flags;
+
/// Reads a register value located at the input method address
u32 GetRegisterValue(u32 method) const;