mirror of
https://github.com/PabloMK7/citra.git
synced 2025-11-03 15:18:47 +00:00
video_core: Initialize unrefered attributes to 1.f (#6966)
This commit is contained in:
parent
8aee625a14
commit
542209c993
3 changed files with 7 additions and 3 deletions
|
|
@ -1841,7 +1841,7 @@ struct Vertex {
|
|||
if (attrib < config.gs_output_attributes) {
|
||||
return fmt::format("vtx.attributes[{}].{}", attrib, "xyzw"[comp]);
|
||||
}
|
||||
return "0.0";
|
||||
return "1.0";
|
||||
};
|
||||
|
||||
out += "const float EPSILON_Z = 0.00000001f;\n\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue