VERY experimental Nintendo Switch 2 emulator
C++
maxwell_3d: Initialize format attributes constant as one
ReinUsesLisp4ef04832a8c6
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cppindex ba63b44b48..baa74ad4ca 100644--- a/src/video_core/engines/maxwell_3d.cpp+++ b/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 bootregs.rasterize_enable = 1;regs.rt_separate_frag_data = 1;