diff options
author | Subv <subv2112@gmail.com> | 2018-03-21 05:28:06 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-21 05:28:06 +0100 |
commit | ae28a5227702bd259645832ddcde29fe107adfce (patch) | |
tree | 9ad871eee931069e0946a22dbf9761e8217ee371 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #254 from bunnei/port-citra-renderer (diff) | |
download | yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar.gz yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar.bz2 yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar.lz yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar.xz yuzu-ae28a5227702bd259645832ddcde29fe107adfce.tar.zst yuzu-ae28a5227702bd259645832ddcde29fe107adfce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index c2db3154a..4c833dc75 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -83,7 +83,14 @@ public: } } rt[NumRenderTargets]; - INSERT_PADDING_WORDS(0x178); + INSERT_PADDING_WORDS(0xDD); + + struct { + u32 first; + u32 count; + } vertex_buffer; + + INSERT_PADDING_WORDS(0x99); struct { u32 address_high; @@ -146,7 +153,10 @@ public: INSERT_PADDING_WORDS(1); struct { u32 vertex_end_gl; - u32 vertex_begin_gl; + union { + u32 vertex_begin_gl; + BitField<0, 16, u32> topology; + }; } draw; INSERT_PADDING_WORDS(0x139); struct { @@ -336,6 +346,7 @@ private: "Field " #field_name " has invalid position") ASSERT_REG_POSITION(rt, 0x200); +ASSERT_REG_POSITION(vertex_buffer, 0x35D); ASSERT_REG_POSITION(zeta, 0x3F8); ASSERT_REG_POSITION(rt_control, 0x487); ASSERT_REG_POSITION(tsc, 0x557); |