diff options
author | bunnei <bunneidev@gmail.com> | 2020-06-01 16:11:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 16:11:56 -0400 |
commit | bb6d93630f8785a94de624a30334251ccbac0b65 (patch) | |
tree | 914ab192be87e28c0599c41dc5f5526a09e4dea0 | |
parent | 3a6714ab7fdd94e1b8b66126bf77e76949946f11 (diff) | |
parent | f3f056c3b60fda242ae08f3866832dd307d537ba (diff) |
Merge pull request #3998 from ReinUsesLisp/init-3d
maxwell_3d: Initialize more registers to their expected value
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 004f6b261..13ef2e42d 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -106,7 +106,11 @@ void Maxwell3D::InitializeRegisterDefaults() { regs.rasterize_enable = 1; regs.rt_separate_frag_data = 1; regs.framebuffer_srgb = 1; + regs.line_width_aliased = 1.0f; + regs.line_width_smooth = 1.0f; regs.front_face = Maxwell3D::Regs::FrontFace::ClockWise; + regs.polygon_mode_back = Maxwell3D::Regs::PolygonMode::Fill; + regs.polygon_mode_front = Maxwell3D::Regs::PolygonMode::Fill; shadow_state = regs; |