mesa: precompute _mesa_primitive_restart_index during state changes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Mar 2020 20:40:32 +0000 (16:40 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Apr 2020 14:29:16 +0000 (10:29 -0400)
commite6bc1702f484be1ecb592295c4877281075798be
tree9f6482f91c3b22a30eb9d70ce573bd30d24f7df2
parent10beee8a7757e956ab0e02ec8402ec1273d8edce
mesa: precompute _mesa_primitive_restart_index during state changes

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
src/mesa/drivers/dri/i965/genX_state_upload.c
src/mesa/main/attrib.c
src/mesa/main/enable.c
src/mesa/main/enable.h
src/mesa/main/mtypes.h
src/mesa/main/varray.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/vbo/vbo_minmax_index.c
src/mesa/vbo/vbo_primitive_restart.c
src/mesa/vbo/vbo_save_api.c