summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-01 00:36:19 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-12-06 22:06:53 -0300
commitd2b50c5ebdb16fcea3370aa7cb7d25ad6ad51744 (patch)
tree1071dd4da80c9475eebfaf689687b7fdfabbf2bd
parentd49ed4a421f7b4a7649c91f136108aa24ebebd4f (diff)
maxwell_3d: Add patch vertices register
-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:
u32 polygon_offset_line_enable;
u32 polygon_offset_fill_enable;
- INSERT_UNION_PADDING_WORDS(0xD);
+ u32 patch_vertices;
+
+ INSERT_UNION_PADDING_WORDS(0xC);
std::array<ScissorTest, NumViewports> scissor_test;
@@ -1397,6 +1399,7 @@ ASSERT_REG_POSITION(clear_stencil, 0x368);
ASSERT_REG_POSITION(polygon_offset_point_enable, 0x370);
ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371);
ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372);
+ASSERT_REG_POSITION(patch_vertices, 0x373);
ASSERT_REG_POSITION(scissor_test, 0x380);
ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5);
ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6);