diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-21 03:40:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 03:40:18 +0200 |
commit | d3e0cefa600240c064f2d758cd5c74fc83ad3d40 (patch) | |
tree | 3a511d1b7c32f739b8e6e5a1cc66ff0475194db8 /src/video_core | |
parent | Merge pull request #3733 from ambasta/patch-2 (diff) | |
parent | maxwell_3d: Initialize format attributes constant as one (diff) | |
download | yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar.gz yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar.bz2 yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar.lz yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar.xz yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.tar.zst yuzu-d3e0cefa600240c064f2d758cd5c74fc83ad3d40.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; |