1
1

Fix #106568: Overlay: Resolve motion path rendering in Metal

Resolve small indexing issue in Metal implementation
of motion path line rendering.

Authored by Apple: Michael Parkin-White

Pull Request: blender/blender#106595
This commit is contained in:
2023-04-05 20:55:14 +02:00
committed by Clément Foucault
parent 6cb5b14f16
commit 92c9c1d400

View File

@@ -118,7 +118,7 @@ void main()
vec4 finalColor_geom[2];
do_vertex_shader(out_pos0, base_vertex_id, ssPos[0], finalColor_geom[0]);
do_vertex_shader(out_pos1, base_vertex_id + 1, ssPos[0], finalColor_geom[0]);
do_vertex_shader(out_pos1, base_vertex_id + 1, ssPos[1], finalColor_geom[1]);
/* Geometry shader alternative -- Output is trianglelist consisting of 6 vertices.
* Each vertex shader invocation is one vertex in the output primitive, so outptut