Module: Mesa Branch: 10.1 Commit: c2dc58fe96dbb2f609cdb032420baf096e29ac23 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2dc58fe96dbb2f609cdb032420baf096e29ac23
Author: Iago Toral Quiroga <[email protected]> Date: Mon Jun 16 17:00:15 2014 +0200 mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program. Reviewed-by: Ian Romanick <[email protected]> Cc: "10.1 10.2" <[email protected]> (cherry picked from commit 96a95f48eaf8af2c6ace51531bdd5bfbcf71165e) --- src/mesa/program/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index ea8eb0d..ed8d3d9 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -531,6 +531,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog) gpc->VerticesOut = gp->VerticesOut; gpc->InputType = gp->InputType; gpc->OutputType = gp->OutputType; + gpc->UsesEndPrimitive = gp->UsesEndPrimitive; } break; default: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
