summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-17 02:15:07 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-17 02:15:07 +0200
commit238c6016f935fa73086d7a6609af59fee328717b (patch)
tree33942df0d326ef1963e00db6fbae22cc715901f0 /src/video_core
parentMerge pull request #3600 from ReinUsesLisp/no-pointer-buf-cache (diff)
downloadyuzu-238c6016f935fa73086d7a6609af59fee328717b.tar
yuzu-238c6016f935fa73086d7a6609af59fee328717b.tar.gz
yuzu-238c6016f935fa73086d7a6609af59fee328717b.tar.bz2
yuzu-238c6016f935fa73086d7a6609af59fee328717b.tar.lz
yuzu-238c6016f935fa73086d7a6609af59fee328717b.tar.xz
yuzu-238c6016f935fa73086d7a6609af59fee328717b.tar.zst
yuzu-238c6016f935fa73086d7a6609af59fee328717b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index ba63b44b4..baa74ad4c 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 boot
regs.rasterize_enable = 1;
regs.rt_separate_frag_data = 1;