gallium: util_set_vertex_buffers_mask(..): make use of u_bit_consecutive(..)
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 13 Sep 2019 07:04:45 +0000 (09:04 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 14 Sep 2019 17:45:47 +0000 (17:45 +0000)
commit9466e4cfabc0419264a1d53372cda8c970267b0c
tree75a2b7dd58ade67a7d289e2e9742be7ebedf724c
parent53a38e30157871dec45eed2bb22b394dd1a16b6b
gallium: util_set_vertex_buffers_mask(..): make use of u_bit_consecutive(..)

Also move the clearing of the bits out of if/else.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/util/u_helpers.c