summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-11 23:22:40 +0200
committerGitHub <noreply@github.com>2022-10-11 23:22:40 +0200
commit133a68ee9b420d30a58fe7ddd8c03065324a4d70 (patch)
treee2a8f89c372b545c6cabbcc53a9d725a6fe2cdb1 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #9044 from lat9nq/mingw-gcc-revert (diff)
parentFix stencil func registers, make clip control equivalent to how it was before, but surely wrong. (diff)
downloadyuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar.gz
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar.bz2
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar.lz
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar.xz
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.tar.zst
yuzu-133a68ee9b420d30a58fe7ddd8c03065324a4d70.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 84c1abf3d..89a9d1f5a 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -74,15 +74,15 @@ void Maxwell3D::InitializeRegisterDefaults() {
regs.stencil_front_op.zfail = Regs::StencilOp::Op::Keep_D3D;
regs.stencil_front_op.zpass = Regs::StencilOp::Op::Keep_D3D;
regs.stencil_front_op.func = Regs::ComparisonOp::Always_GL;
- regs.stencil_front_func.func_mask = 0xFFFFFFFF;
- regs.stencil_front_func.mask = 0xFFFFFFFF;
+ regs.stencil_front_func_mask = 0xFFFFFFFF;
+ regs.stencil_front_mask = 0xFFFFFFFF;
regs.stencil_two_side_enable = 1;
regs.stencil_back_op.fail = Regs::StencilOp::Op::Keep_D3D;
regs.stencil_back_op.zfail = Regs::StencilOp::Op::Keep_D3D;
regs.stencil_back_op.zpass = Regs::StencilOp::Op::Keep_D3D;
regs.stencil_back_op.func = Regs::ComparisonOp::Always_GL;
- regs.stencil_back_func.func_mask = 0xFFFFFFFF;
- regs.stencil_back_func.mask = 0xFFFFFFFF;
+ regs.stencil_back_func_mask = 0xFFFFFFFF;
+ regs.stencil_back_mask = 0xFFFFFFFF;
regs.depth_test_func = Regs::ComparisonOp::Always_GL;
regs.gl_front_face = Regs::FrontFace::CounterClockWise;