summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-11-13 16:33:35 -0300
committerGravatar ReinUsesLisp2019-11-13 16:35:17 -0300
commit7990220df75b41fd59012241a754abe84c98201a (patch)
treec6d8758bfaf9263f3d503dd8d99aa30306c358a3
parentMerge pull request #3103 from lioncash/cfunc (diff)
downloadyuzu-7990220df75b41fd59012241a754abe84c98201a.tar.gz
yuzu-7990220df75b41fd59012241a754abe84c98201a.tar.xz
yuzu-7990220df75b41fd59012241a754abe84c98201a.zip
maxwell_3d: Fix stencil_back_func_mask offset
stencil_back_func_mask and stencil_back_mask were misplaced. This commit addresses that issue.
-rw-r--r--src/video_core/engines/maxwell_3d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 1aa7c274f..37390eb87 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -677,8 +677,8 @@ public:
677 INSERT_UNION_PADDING_WORDS(0x15); 677 INSERT_UNION_PADDING_WORDS(0x15);
678 678
679 s32 stencil_back_func_ref; 679 s32 stencil_back_func_ref;
680 u32 stencil_back_mask;
681 u32 stencil_back_func_mask; 680 u32 stencil_back_func_mask;
681 u32 stencil_back_mask;
682 682
683 INSERT_UNION_PADDING_WORDS(0xC); 683 INSERT_UNION_PADDING_WORDS(0xC);
684 684
@@ -1407,8 +1407,8 @@ ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371);
1407ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372); 1407ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372);
1408ASSERT_REG_POSITION(scissor_test, 0x380); 1408ASSERT_REG_POSITION(scissor_test, 0x380);
1409ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5); 1409ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5);
1410ASSERT_REG_POSITION(stencil_back_mask, 0x3D6); 1410ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6);
1411ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D7); 1411ASSERT_REG_POSITION(stencil_back_mask, 0x3D7);
1412ASSERT_REG_POSITION(color_mask_common, 0x3E4); 1412ASSERT_REG_POSITION(color_mask_common, 0x3E4);
1413ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB); 1413ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB);
1414ASSERT_REG_POSITION(depth_bounds, 0x3EC); 1414ASSERT_REG_POSITION(depth_bounds, 0x3EC);