2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

maxwell_3d: Fix stencil_back_func_mask offset

stencil_back_func_mask and stencil_back_mask were misplaced. This commit
addresses that issue.
This commit is contained in:
ReinUsesLisp 2019-11-13 16:33:35 -03:00
parent cc9e682021
commit 7990220df7
No known key found for this signature in database
GPG key ID: 2DFC508897B39CFE

View file

@ -677,8 +677,8 @@ public:
INSERT_UNION_PADDING_WORDS(0x15);
s32 stencil_back_func_ref;
u32 stencil_back_mask;
u32 stencil_back_func_mask;
u32 stencil_back_mask;
INSERT_UNION_PADDING_WORDS(0xC);
@ -1407,8 +1407,8 @@ ASSERT_REG_POSITION(polygon_offset_line_enable, 0x371);
ASSERT_REG_POSITION(polygon_offset_fill_enable, 0x372);
ASSERT_REG_POSITION(scissor_test, 0x380);
ASSERT_REG_POSITION(stencil_back_func_ref, 0x3D5);
ASSERT_REG_POSITION(stencil_back_mask, 0x3D6);
ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D7);
ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6);
ASSERT_REG_POSITION(stencil_back_mask, 0x3D7);
ASSERT_REG_POSITION(color_mask_common, 0x3E4);
ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB);
ASSERT_REG_POSITION(depth_bounds, 0x3EC);