mesa: remove redundant _mesa_prim::is_indexed
authorMarek Olšák <marek.olsak@amd.com>
Tue, 11 Feb 2020 01:25:52 +0000 (20:25 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Feb 2020 00:53:45 +0000 (00:53 +0000)
commitaaa758d3dd4112e6ce52b033cb6dcabfcebadb1f
treec8ea0eb8c13dab4c013f5bb0168186922e906abb
parent0c9850e55d11447d79bba1ad070f57ed52e85c96
mesa: remove redundant _mesa_prim::is_indexed

Instead, check (ib != NULL) like all other drivers.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3990>
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/main/draw.c
src/mesa/main/draw.h
src/mesa/state_tracker/st_cb_rasterpos.c
src/mesa/tnl/t_split_inplace.c
src/mesa/vbo/vbo_exec_api.c