Browse Source

maxwell_3d: Initialize format attributes constant as one

nouveau expects this to be true but it doesn't set it.
nce_cpp
ReinUsesLisp 6 years ago
parent
commit
4ef04832a8
  1. 4
      src/video_core/engines/maxwell_3d.cpp

4
src/video_core/engines/maxwell_3d.cpp

@ -92,6 +92,10 @@ void Maxwell3D::InitializeRegisterDefaults() {
color_mask.A.Assign(1);
}
for (auto& format : regs.vertex_attrib_format) {
format.constant.Assign(1);
}
// NVN games expect these values to be enabled at boot
regs.rasterize_enable = 1;
regs.rt_separate_frag_data = 1;

Loading…
Cancel
Save