util: Add and use util_is_power_of_two_nonzero
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Nov 2017 21:00:53 +0000 (13:00 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2018 21:09:28 +0000 (14:09 -0700)
commit22fbb5c5949b1590ef04b6432dd7f3a93a37c2ed
treec43dcd5e0d83802f39221369da90d1eed745b808
parentd76c204d0564701b4b8b6a2bdda50e2939683e66
util: Add and use util_is_power_of_two_nonzero

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/compiler/nir/nir_search_helpers.h
src/compiler/nir/nir_validate.c
src/gallium/drivers/etnaviv/etnaviv_blt.c
src/intel/compiler/brw_fs.cpp
src/util/bitscan.h