yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #3998 from ReinUsesLisp/init-3d

maxwell_3d: Initialize more registers to their expected value
This commit is contained in:
bunnei 2020-06-01 16:11:56 -04:00 committed by GitHub
commit bb6d93630f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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;