Maxwell3D: Reorganize and address feedback

This commit is contained in:
Fernando Sahmkow
2019-07-17 19:37:01 -04:00
committed by FernandoS27
parent 4be61013a1
commit 7a35178ee2
3 changed files with 31 additions and 18 deletions

View File

@ -70,6 +70,10 @@ void Maxwell3D::InitializeRegisterDefaults() {
regs.stencil_back_func_mask = 0xFFFFFFFF;
regs.stencil_back_mask = 0xFFFFFFFF;
regs.depth_test_func = Regs::ComparisonOp::Always;
regs.cull.front_face = Regs::Cull::FrontFace::CounterClockWise;
regs.cull.cull_face = Regs::Cull::CullFace::Back;
// TODO(Rodrigo): Most games do not set a point size. I think this is a case of a
// register carrying a default value. Assume it's OpenGL's default (1).
regs.point_size = 1.0f;