diff options
author | Brian Paul <[email protected]> | 2018-02-07 16:12:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-02-08 09:49:03 -0700 |
commit | b9ff185e41e2d310f70182fca06a9140a79e07ad (patch) | |
tree | e14522eae628bdccc1c2107f7bba1ec5bde19d30 /src/mesa | |
parent | 93b3d381768b405e06f1327f03ee807696d9aab0 (diff) |
vbo: add a comment on vbo_draw_transform_feedback()
Reviewed-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 9ce0aa38dc2..25abe095599 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -1416,6 +1416,14 @@ vbo_exec_MultiDrawElementsBaseVertex(GLenum mode, } +/** + * Draw a GL primitive using a vertex count obtained from transform feedback. + * \param mode the type of GL primitive to draw + * \param obj the transform feedback object to use + * \param stream index of the transform feedback stream from which to + * get the primitive count. + * \param numInstances number of instances to draw + */ static void vbo_draw_transform_feedback(struct gl_context *ctx, GLenum mode, struct gl_transform_feedback_object *obj, |