Browse Source
Merge pull request #3695 from ReinUsesLisp/default-attributes
maxwell_3d: Initialize format attributes constant as one
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/video_core/engines/maxwell_3d.cpp
|
|
@ -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; |
|
|
|