summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-11-01 00:36:19 -0300
committerGravatar ReinUsesLisp2019-12-06 22:06:53 -0300
commitd2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744 (patch)
tree1071dd4da80c9475eebfaf689687b7fdfabbf2bd /src
parentMerge pull request #3197 from ReinUsesLisp/shader-char (diff)
downloadyuzu-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.h5
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);
1397ASSERT_REG_POSITION(polygon_offset_point_enable, 0x370); 1399ASSERT_REG_POSITION(polygon_offset_point_enable, 0x370);
1398ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371); 1400ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371);
1399ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372); 1401ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372);
1402ASSERT_REG_POSITION(patch_vertices, 0x373);
1400ASSERT_REG_POSITION(scissor_test, 0x380); 1403ASSERT_REG_POSITION(scissor_test, 0x380);
1401ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5); 1404ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5);
1402ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6); 1405ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6);