summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_core/engines/maxwell_3d.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index f354241e4..c2db3154a 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -83,7 +83,22 @@ public:
83 } 83 }
84 } rt[NumRenderTargets]; 84 } rt[NumRenderTargets];
85 85
86 INSERT_PADDING_WORDS(0x207); 86 INSERT_PADDING_WORDS(0x178);
87
88 struct {
89 u32 address_high;
90 u32 address_low;
91 u32 format;
92 u32 block_dimensions;
93 u32 layer_stride;
94
95 GPUVAddr Address() const {
96 return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) |
97 address_low);
98 }
99 } zeta;
100
101 INSERT_PADDING_WORDS(0x8A);
87 102
88 struct { 103 struct {
89 union { 104 union {
@@ -321,6 +336,7 @@ private:
321 "Field " #field_name " has invalid position") 336 "Field " #field_name " has invalid position")
322 337
323ASSERT_REG_POSITION(rt, 0x200); 338ASSERT_REG_POSITION(rt, 0x200);
339ASSERT_REG_POSITION(zeta, 0x3F8);
324ASSERT_REG_POSITION(rt_control, 0x487); 340ASSERT_REG_POSITION(rt_control, 0x487);
325ASSERT_REG_POSITION(tsc, 0x557); 341ASSERT_REG_POSITION(tsc, 0x557);
326ASSERT_REG_POSITION(tic, 0x55D); 342ASSERT_REG_POSITION(tic, 0x55D);