diff options
| author | Sebastian Valle <subv2112@gmail.com> | 2018-07-02 14:07:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-02 14:07:38 -0500 |
| commit | 055f1546d7d69fdcc06693847aeddda30535b283 (patch) | |
| tree | 61cd63db220881c29eb8be42934c1f6f87b56109 /src/video_core/engines | |
| parent | 79167fc989f682ce54877df0ffc0d5b73d4aaed9 (diff) | |
| parent | 4c59105adf8dc5171f3c7388b6b0db3cd0ee57ba (diff) | |
Merge pull request #606 from Subv/base_vertex
GPU: Fixed the index offset and implement BaseVertex when doing indexed rendering.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 180be4ff4..58db81222 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -455,7 +455,11 @@ public: u32 enable[NumRenderTargets]; } blend; - INSERT_PADDING_WORDS(0x77); + INSERT_PADDING_WORDS(0x2D); + + u32 vb_element_base; + + INSERT_PADDING_WORDS(0x49); struct { u32 tsc_address_high; @@ -745,6 +749,7 @@ ASSERT_REG_POSITION(vertex_attrib_format[0], 0x458); ASSERT_REG_POSITION(rt_control, 0x487); ASSERT_REG_POSITION(independent_blend_enable, 0x4B9); ASSERT_REG_POSITION(blend, 0x4CF); +ASSERT_REG_POSITION(vb_element_base, 0x50D); ASSERT_REG_POSITION(tsc, 0x557); ASSERT_REG_POSITION(tic, 0x55D); ASSERT_REG_POSITION(code_address, 0x582); |
