diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-02 17:46:00 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-04-06 01:19:30 +0200 |
commit | fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2 (patch) | |
tree | b501f51061b904b5970efc993efcc057c7e5ba8f /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #2266 from FernandoS27/arbitration (diff) | |
download | yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.gz yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.bz2 yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.lz yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.xz yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.zst yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 7fbf1026e..f7ecee254 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -576,7 +576,17 @@ public: u32 bind; } macros; - INSERT_PADDING_WORDS(0x188); + INSERT_PADDING_WORDS(0x69); + + struct { + union { + BitField<0, 16, u32> sync_point; + BitField<16, 1, u32> unknown; + BitField<20, 1, u32> increment; + }; + } sync_info; + + INSERT_PADDING_WORDS(0x11E); u32 tfb_enabled; @@ -1180,6 +1190,9 @@ private: /// Handles a write to the QUERY_GET register. void ProcessQueryGet(); + /// Handles writes to syncing register. + void ProcessSyncPoint(); + /// Handles a write to the CB_DATA[i] register. void ProcessCBData(u32 value); @@ -1195,6 +1208,7 @@ private: "Field " #field_name " has invalid position") ASSERT_REG_POSITION(macros, 0x45); +ASSERT_REG_POSITION(sync_info, 0xB2); ASSERT_REG_POSITION(tfb_enabled, 0x1D1); ASSERT_REG_POSITION(rt, 0x200); ASSERT_REG_POSITION(viewport_transform, 0x280); |