mesa: move num_instances and base_instance out of _mesa_prim
authorMarek Olšák <marek.olsak@amd.com>
Tue, 11 Feb 2020 02:42:56 +0000 (21:42 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 00:53:45 +0000 (00:53 +0000)
commitb78ab9c741ac758e9d1eb237f7e8ddc3b70235f5
tree982ae2d8ce6aed0089f1c45233b90ac3c4f51675
parentaaa758d3dd4112e6ce52b033cb6dcabfcebadb1f
mesa: move num_instances and base_instance out of _mesa_prim

They are never used by multi draws and internal draws.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
26 files changed:
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw.h
src/mesa/drivers/dri/i965/brw_primitive_restart.c
src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
src/mesa/main/dd.h
src/mesa/main/draw.c
src/mesa/main/draw.h
src/mesa/state_tracker/st_cb_rasterpos.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw.h
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/tnl/t_draw.c
src/mesa/tnl/t_rebase.c
src/mesa/tnl/t_rebase.h
src/mesa/tnl/t_split.c
src/mesa/tnl/t_split.h
src/mesa/tnl/t_split_copy.c
src/mesa/tnl/t_split_inplace.c
src/mesa/tnl/tnl.h
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_exec.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_primitive_restart.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c