Browse Source
Merge pull request #3998 from ReinUsesLisp/init-3d
maxwell_3d: Initialize more registers to their expected value
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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; |
|
|
|
|
|
|
|
|