[Mesa-dev] [PATCH] Delete duplicate function is_power_of_two() and use _mesa_is_pow_two()

Michel Dänzer michel at daenzer.net
Thu Jul 30 00:29:48 PDT 2015

On 30.07.2015 01:27, Anuj Phogat wrote:
> On Wed, Jul 29, 2015 at 12:20 AM, Iago Toral <itoral at igalia.com> wrote:
>> Funny, we had 3 instances of the same function with the same
>> implementation :), there is still util_is_power_of_two in Gallium btw.
> Yes.  I wasn't sure if we can use main/imports.h in gallium.

We can't, that's what src/util/ is for.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list