mesa: replace _mesa_index_buffer::type with index_size
authorMarek Olšák <marek.olsak@amd.com>
Sun, 2 Apr 2017 17:07:49 +0000 (19:07 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 22 Apr 2017 20:51:15 +0000 (22:51 +0200)
commit070072ad43bb41624d271f10697ea21a776b1ec1
tree2f88efd83530f8a71e4dec1634378020a8826565
parente137b9eed9501858e2037719a94aafee35179249
mesa: replace _mesa_index_buffer::type with index_size

This avoids repeated translations of the enum.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
20 files changed:
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_primitive_restart.c
src/mesa/drivers/dri/i965/gen8_draw_upload.c
src/mesa/drivers/dri/i965/genX_blorp_exec.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/nouveau/nouveau_render_t.c
src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
src/mesa/main/varray.c
src/mesa/main/varray.h
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/tnl/t_draw.c
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_exec_array.c
src/mesa/vbo/vbo_minmax_index.c
src/mesa/vbo/vbo_primitive_restart.c
src/mesa/vbo/vbo_rebase.c
src/mesa/vbo/vbo_split_copy.c
src/mesa/vbo/vbo_split_inplace.c