mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 09:00:30 +01:00
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 <imirkin@alum.mit.edu> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
87b4e4e29f
commit
daaf0bdf46
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue