mesa: replace some index_size multiplications and divisions with shifts
authorMarek Olšák <marek.olsak@amd.com>
Thu, 13 Feb 2020 20:29:22 +0000 (15:29 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Mar 2020 00:54:42 +0000 (19:54 -0500)
commite92a4f817d1f7a5094066e2a47a246fd5ccf94d6
tree75136b9e37577a469d885f7283ccbd62f041be03
parent87085c673d593e6332ca2f3fb6737b77f7087f66
mesa: replace some index_size multiplications and divisions with shifts

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/4052>
src/mesa/main/draw.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/vbo/vbo_minmax_index.c