Merge pull request #94629 from RandomShaper/fix_undef_position

Fix position from vertex shader partially uninitialized
This commit is contained in:
Rémi Verschelde 2024-07-24 09:59:24 +02:00
commit 139cf025c9
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View file

@ -352,7 +352,7 @@ void vertex_shader(vec3 vertex_input,
}
#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif
#ifdef USE_MULTIVIEW

View file

@ -352,7 +352,7 @@ void main() {
}
#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif
#ifdef USE_MULTIVIEW