0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

maxwell_3d: Initialize format attributes constant as one

nouveau expects this to be true but it doesn't set it.
This commit is contained in:
ReinUsesLisp 2020-04-16 21:15:07 -03:00
parent c81f256111
commit 238c6016f9

View File

@ -92,6 +92,10 @@ void Maxwell3D::InitializeRegisterDefaults() {
color_mask.A.Assign(1); 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 // NVN games expect these values to be enabled at boot
regs.rasterize_enable = 1; regs.rasterize_enable = 1;
regs.rt_separate_frag_data = 1; regs.rt_separate_frag_data = 1;