util: move bitcount to bitscan.h
authorKevin Strasser <kevin.strasser@intel.com>
Fri, 14 Jun 2019 21:27:53 +0000 (14:27 -0700)
committerAdam Jackson <ajax@nwnk.net>
Wed, 21 Aug 2019 18:36:57 +0000 (18:36 +0000)
commit3562f48c9d58793429fc5ea655b8b4629b495ce0
tree0fe01f5763f164f92656a9f52d5a91603d437bcc
parent5a747306ce6dd3021c15cfabc83465ec3fb4bb1c
util: move bitcount to bitscan.h

bitcount is free from the pipe header dependencies that make u_math.h hard
to include by non-gallium specific code, so move it to bitscan.h. bitscan.h
is included by u_math.h so existing references will continue working.

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/util/bitscan.h
src/util/u_math.h