On Tue, Jun 11, 2013 at 5:08 PM, Eric Anholt <e...@anholt.net> wrote: > The is_power_of_two() inline function has been used instead. > --- > src/mesa/drivers/dri/intel/intel_context.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel_context.h > b/src/mesa/drivers/dri/intel/intel_context.h > index 5420e76..1002dcb 100644 > --- a/src/mesa/drivers/dri/intel/intel_context.h > +++ b/src/mesa/drivers/dri/intel/intel_context.h > @@ -380,8 +380,6 @@ extern char *__progname; > */ > #define ROUND_DOWN_TO(value, alignment) ((value) & ~(alignment - 1)) > > -#define IS_POWER_OF_TWO(val) (((val) & (val - 1)) == 0) > - > static INLINE uint32_t > U_FIXED(float value, uint32_t frac_bits) > { > -- > 1.8.3.rc0
Reviewed-by: Matt Turner <matts...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev