Commit daaf0bdf authored by Ilia Mirkin's avatar Ilia Mirkin

gallium: add a drawid to pipe_draw_info

This will allow the state tracker to inform the driver where in a
broken-up multidraw we currently are. This can then be passed into the
vertex shader.
Signed-off-by: Ilia Mirkin's avatarIlia Mirkin <>
Reviewed-by: default avatarRoland Scheidegger <>
parent 87b4e4e2
......@@ -587,6 +587,8 @@ struct pipe_draw_info
unsigned start_instance; /**< first instance id */
unsigned instance_count; /**< number of instances */
unsigned drawid; /**< id of this draw in a multidraw */
unsigned vertices_per_patch; /**< the number of vertices per patch */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment