video_core: Initialize unrefered attributes to 1.f (#6966)

This commit is contained in:
GPUCode 2023-09-17 00:46:44 +03:00 committed by GitHub
parent 8aee625a14
commit 542209c993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -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";