diff options
| author | 2019-11-01 04:39:48 -0300 | |
|---|---|---|
| committer | 2019-12-06 22:08:22 -0300 | |
| commit | 36651f215a7b9bda242ebd389ef162e8381bf834 (patch) | |
| tree | 65bb717c8cb0925db9834275c4f99fef9a4c0ce5 /src | |
| parent | maxwell_3d: Add tessellation mode register (diff) | |
| download | yuzu-36651f215a7b9bda242ebd389ef162e8381bf834.tar.gz yuzu-36651f215a7b9bda242ebd389ef162e8381bf834.tar.xz yuzu-36651f215a7b9bda242ebd389ef162e8381bf834.zip | |
maxwell_3d: Add tessellation tess level registers
Diffstat (limited to 'src')
| -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 05d182006..dcc7cd1fe 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -654,7 +654,10 @@ public: | |||
| 654 | BitField<9, 1, u32> connected; | 654 | BitField<9, 1, u32> connected; |
| 655 | } tess_mode; | 655 | } tess_mode; |
| 656 | 656 | ||
| 657 | INSERT_UNION_PADDING_WORDS(0x108); | 657 | std::array<f32, 4> tess_level_outer; |
| 658 | std::array<f32, 2> tess_level_inner; | ||
| 659 | |||
| 660 | INSERT_UNION_PADDING_WORDS(0x102); | ||
| 658 | 661 | ||
| 659 | u32 tfb_enabled; | 662 | u32 tfb_enabled; |
| 660 | 663 | ||
| @@ -1415,6 +1418,8 @@ ASSERT_REG_POSITION(exec_upload, 0x6C); | |||
| 1415 | ASSERT_REG_POSITION(data_upload, 0x6D); | 1418 | ASSERT_REG_POSITION(data_upload, 0x6D); |
| 1416 | ASSERT_REG_POSITION(sync_info, 0xB2); | 1419 | ASSERT_REG_POSITION(sync_info, 0xB2); |
| 1417 | ASSERT_REG_POSITION(tess_mode, 0xC8); | 1420 | ASSERT_REG_POSITION(tess_mode, 0xC8); |
| 1421 | ASSERT_REG_POSITION(tess_level_outer, 0xC9); | ||
| 1422 | ASSERT_REG_POSITION(tess_level_inner, 0xCD); | ||
| 1418 | ASSERT_REG_POSITION(tfb_enabled, 0x1D1); | 1423 | ASSERT_REG_POSITION(tfb_enabled, 0x1D1); |
| 1419 | ASSERT_REG_POSITION(rt, 0x200); | 1424 | ASSERT_REG_POSITION(rt, 0x200); |
| 1420 | ASSERT_REG_POSITION(viewport_transform, 0x280); | 1425 | ASSERT_REG_POSITION(viewport_transform, 0x280); |