diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 02:15:07 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-17 02:15:07 +0200 |
commit | 238c6016f935fa73086d7a6609af59fee328717b (patch) | |
tree | 33942df0d326ef1963e00db6fbae22cc715901f0 /src/video_core | |
parent | Merge pull request #3600 from ReinUsesLisp/no-pointer-buf-cache (diff) | |
download | yuzu-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.cpp | 4 |
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; |