summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-01-25 12:34:24 -0800
committerJordan Justen <[email protected]>2014-02-20 10:33:09 -0800
commit86d6b5546b75ac7d5eedc26c14f579a4bfb40406 (patch)
tree92afa06778d6d775497e9eddbafbc8dfb01e7f7c /src/mesa/program/program.c
parent313402048fdad05d3401340129b9e412878d8957 (diff)
mesa: initialize gl_geometry_program Invocations field
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/program/program.c')
-rw-r--r--src/mesa/program/program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c
index fa80bc58c9a..82e622d2bc2 100644
--- a/src/mesa/program/program.c
+++ b/src/mesa/program/program.c
@@ -550,6 +550,7 @@ _mesa_clone_program(struct gl_context *ctx, const struct gl_program *prog)
struct gl_geometry_program *gpc = gl_geometry_program(clone);
gpc->VerticesOut = gp->VerticesOut;
gpc->InputType = gp->InputType;
+ gpc->Invocations = gp->Invocations;
gpc->OutputType = gp->OutputType;
}
break;