Module: Mesa Branch: arb_geometry_shader4 Commit: 00f4881808501574642a89fe1b185ccbc568a6e7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00f4881808501574642a89fe1b185ccbc568a6e7
Author: Zack Rusin <[email protected]> Date: Sat Sep 12 22:34:01 2009 -0400 gs: primitive id is also not an array --- src/mesa/state_tracker/st_atom_shader.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_shader.c b/src/mesa/state_tracker/st_atom_shader.c index cad6e9f..e7ea3a9 100644 --- a/src/mesa/state_tracker/st_atom_shader.c +++ b/src/mesa/state_tracker/st_atom_shader.c @@ -305,6 +305,7 @@ find_translated_vp(struct st_context *st, stgp->input_to_slot[inAttr] = numIn; switch(inAttr) { case GEOM_ATTRIB_VERTICES: + case GEOM_ATTRIB_PRIMITIVE_ID: ++numIn; break; default: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
