diff options
| author | 2019-11-01 00:36:19 -0300 | |
|---|---|---|
| committer | 2019-12-06 22:06:53 -0300 | |
| commit | d2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744 (patch) | |
| tree | 1071dd4da80c9475eebfaf689687b7fdfabbf2bd /src | |
| parent | Merge pull request #3197 from ReinUsesLisp/shader-char (diff) | |
| download | yuzu-d2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744.tar.gz yuzu-d2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744.tar.xz yuzu-d2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744.zip | |
maxwell_3d: Add patch vertices register
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 4cb7339b5..884f2b018 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -662,7 +662,9 @@ public: | |||
| 662 | u32 polygon_offset_line_enable; | 662 | u32 polygon_offset_line_enable; |
| 663 | u32 polygon_offset_fill_enable; | 663 | u32 polygon_offset_fill_enable; |
| 664 | 664 | ||
| 665 | INSERT_UNION_PADDING_WORDS(0xD); | 665 | u32 patch_vertices; |
| 666 | |||
| 667 | INSERT_UNION_PADDING_WORDS(0xC); | ||
| 666 | 668 | ||
| 667 | std::array<ScissorTest, NumViewports> scissor_test; | 669 | std::array<ScissorTest, NumViewports> scissor_test; |
| 668 | 670 | ||
| @@ -1397,6 +1399,7 @@ ASSERT_REG_POSITION(clear_stencil, 0x368); | |||
| 1397 | ASSERT_REG_POSITION(polygon_offset_point_enable, 0x370); | 1399 | ASSERT_REG_POSITION(polygon_offset_point_enable, 0x370); |
| 1398 | ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371); | 1400 | ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371); |
| 1399 | ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372); | 1401 | ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372); |
| 1402 | ASSERT_REG_POSITION(patch_vertices, 0x373); | ||
| 1400 | ASSERT_REG_POSITION(scissor_test, 0x380); | 1403 | ASSERT_REG_POSITION(scissor_test, 0x380); |
| 1401 | ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5); | 1404 | ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5); |
| 1402 | ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6); | 1405 | ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6); |