gallium: add a drawid to pipe_draw_info
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 29 Dec 2015 22:00:05 +0000 (17:00 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 30 Dec 2015 21:55:56 +0000 (16:55 -0500)
commitdaaf0bdf46bc5084bdba1ee5d42d994f30a65841
treefd5596105910afea4057aa3477c634880ae331df
parent87b4e4e29fb2013ce2f0770f39113069bd16057c
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>
src/gallium/include/pipe/p_state.h