Skip to content

Commit

Permalink
Merge pull request #94629 from RandomShaper/fix_undef_position
Browse files Browse the repository at this point in the history
Fix position from vertex shader partially uninitialized
  • Loading branch information
akien-mga committed Jul 24, 2024
2 parents e91725f + 0064532 commit 139cf02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void vertex_shader(vec3 vertex_input,
}

#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif

#ifdef USE_MULTIVIEW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ void main() {
}

#ifdef OVERRIDE_POSITION
vec4 position;
vec4 position = vec4(1.0);
#endif

#ifdef USE_MULTIVIEW
Expand Down

0 comments on commit 139cf02

Please sign in to comment.