maxwell_3d: Add tessellation tess level registers

This commit is contained in:
ReinUsesLisp 2019-11-01 04:39:48 -03:00
parent 707bf41c6f
commit 36651f215a
No known key found for this signature in database
GPG Key ID: 2DFC508897B39CFE
1 changed files with 6 additions and 1 deletions

View File

@ -654,7 +654,10 @@ public:
BitField<9, 1, u32> connected; BitField<9, 1, u32> connected;
} tess_mode; } tess_mode;
INSERT_UNION_PADDING_WORDS(0x108); std::array<f32, 4> tess_level_outer;
std::array<f32, 2> tess_level_inner;
INSERT_UNION_PADDING_WORDS(0x102);
u32 tfb_enabled; u32 tfb_enabled;
@ -1415,6 +1418,8 @@ ASSERT_REG_POSITION(exec_upload, 0x6C);
ASSERT_REG_POSITION(data_upload, 0x6D); ASSERT_REG_POSITION(data_upload, 0x6D);
ASSERT_REG_POSITION(sync_info, 0xB2); ASSERT_REG_POSITION(sync_info, 0xB2);
ASSERT_REG_POSITION(tess_mode, 0xC8); ASSERT_REG_POSITION(tess_mode, 0xC8);
ASSERT_REG_POSITION(tess_level_outer, 0xC9);
ASSERT_REG_POSITION(tess_level_inner, 0xCD);
ASSERT_REG_POSITION(tfb_enabled, 0x1D1); ASSERT_REG_POSITION(tfb_enabled, 0x1D1);
ASSERT_REG_POSITION(rt, 0x200); ASSERT_REG_POSITION(rt, 0x200);
ASSERT_REG_POSITION(viewport_transform, 0x280); ASSERT_REG_POSITION(viewport_transform, 0x280);