diff options
author | Subv <subv2112@gmail.com> | 2018-03-05 01:13:15 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-05 01:14:04 +0100 |
commit | 5fb4c718cc831c31fb1e049aa015df7576f7e0f8 (patch) | |
tree | bd7fc5fd8f216f37e87524a17297db5f2ee7f19d /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #229 from Subv/ensuresavedata_impl (diff) | |
download | yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar.gz yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar.bz2 yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar.lz yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar.xz yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.tar.zst yuzu-5fb4c718cc831c31fb1e049aa015df7576f7e0f8.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 1eeef6857..93f7698a0 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -32,7 +32,12 @@ public: union { struct { - INSERT_PADDING_WORDS(0x6C0); + INSERT_PADDING_WORDS(0x585); + struct { + u32 vertex_end_gl; + u32 vertex_begin_gl; + } draw; + INSERT_PADDING_WORDS(0x139); struct { u32 query_address_high; u32 query_address_low; @@ -61,6 +66,9 @@ private: /// Handles a write to the QUERY_GET register. void ProcessQueryGet(); + /// Handles a write to the VERTEX_END_GL register, triggering a draw. + void DrawArrays(); + MemoryManager& memory_manager; }; |