diff options
| -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: | |||
| 83 | } | 83 | } |
| 84 | } rt[NumRenderTargets]; | 84 | } rt[NumRenderTargets]; |
| 85 | 85 | ||
| 86 | INSERT_PADDING_WORDS(0x178); | 86 | INSERT_PADDING_WORDS(0xDD); |
| 87 | |||
| 88 | struct { | ||
| 89 | u32 first; | ||
| 90 | u32 count; | ||
| 91 | } vertex_buffer; | ||
| 92 | |||
| 93 | INSERT_PADDING_WORDS(0x99); | ||
| 87 | 94 | ||
| 88 | struct { | 95 | struct { |
| 89 | u32 address_high; | 96 | u32 address_high; |
| @@ -146,7 +153,10 @@ public: | |||
| 146 | INSERT_PADDING_WORDS(1); | 153 | INSERT_PADDING_WORDS(1); |
| 147 | struct { | 154 | struct { |
| 148 | u32 vertex_end_gl; | 155 | u32 vertex_end_gl; |
| 149 | u32 vertex_begin_gl; | 156 | union { |
| 157 | u32 vertex_begin_gl; | ||
| 158 | BitField<0, 16, u32> topology; | ||
| 159 | }; | ||
| 150 | } draw; | 160 | } draw; |
| 151 | INSERT_PADDING_WORDS(0x139); | 161 | INSERT_PADDING_WORDS(0x139); |
| 152 | struct { | 162 | struct { |
| @@ -336,6 +346,7 @@ private: | |||
| 336 | "Field " #field_name " has invalid position") | 346 | "Field " #field_name " has invalid position") |
| 337 | 347 | ||
| 338 | ASSERT_REG_POSITION(rt, 0x200); | 348 | ASSERT_REG_POSITION(rt, 0x200); |
| 349 | ASSERT_REG_POSITION(vertex_buffer, 0x35D); | ||
| 339 | ASSERT_REG_POSITION(zeta, 0x3F8); | 350 | ASSERT_REG_POSITION(zeta, 0x3F8); |
| 340 | ASSERT_REG_POSITION(rt_control, 0x487); | 351 | ASSERT_REG_POSITION(rt_control, 0x487); |
| 341 | ASSERT_REG_POSITION(tsc, 0x557); | 352 | ASSERT_REG_POSITION(tsc, 0x557); |