vbo: add a comment on vbo_draw_transform_feedback()

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Brian Paul 2018-02-07 16:12:35 -07:00
parent 93b3d38176
commit b9ff185e41
1 changed files with 8 additions and 0 deletions

View File

@ -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,