On Fri, 18 Mar 2011 11:12:07 -0700, Eric Anholt <[email protected]> wrote: > At the risk of bikeshed, is_power_of_2() in log2.h is prettier. (note: > treats 0 as not power of two).
I like the colour of your bikeshed, sold!. Thanks, I missed that earlier when looking for an implementation of is_pot(). -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
