Re: [Mesa3d-dev] Duplicated functions in src/gallium/auxiliary/util/u_math.h

2009-09-28 Thread José Fonseca
On Sat, 2009-09-26 at 11:45 -0700, Patrice Mandin wrote: > Hello, > > When I moved the logbase2 function to > src/gallium/auxiliary/util/u_math.h some weeks ago, I did not notice > there was already a similar function there, and also for the is_pot() > flavour: > > line 288: > static INLINE boole

[Mesa3d-dev] Duplicated functions in src/gallium/auxiliary/util/u_math.h

2009-09-26 Thread Patrice Mandin
Hello, When I moved the logbase2 function to src/gallium/auxiliary/util/u_math.h some weeks ago, I did not notice there was already a similar function there, and also for the is_pot() flavour: line 288: static INLINE boolean util_is_power_of_two( unsigned v ) line 354: static INLINE boolean util