mesa: Copy Geom.UsesEndPrimitive when cloning a geometry program.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -552,6 +552,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog)
|
||||
gpc->InputType = gp->InputType;
|
||||
gpc->Invocations = gp->Invocations;
|
||||
gpc->OutputType = gp->OutputType;
|
||||
gpc->UsesEndPrimitive = gp->UsesEndPrimitive;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user