summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_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/state_tracker/st_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/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 438d52c2112..e9074ac97e4 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1096,6 +1096,7 @@ st_translate_geometry_program(struct st_context *st,
ureg_property_gs_input_prim(ureg, stgp->Base.InputType);
ureg_property_gs_output_prim(ureg, stgp->Base.OutputType);
ureg_property_gs_max_vertices(ureg, stgp->Base.VerticesOut);
+ ureg_property_gs_invocations(ureg, stgp->Base.Invocations);
if (stgp->glsl_to_tgsi)
st_translate_program(st->ctx,