diff options
author | Eric Anholt <[email protected]> | 2013-06-11 15:59:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-18 12:08:08 -0700 |
commit | 248fddecd8e813b9cb0c98327ab4cd3c836f7398 (patch) | |
tree | b780782bfb83709befe2a21d1f2aa043528301e3 | |
parent | 9542131b273d01d2c3403e6791172347cb792e34 (diff) |
intel: Remove unused IS_POWER_OF_TWO() macro.
The is_power_of_two() inline function has been used instead.
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.h b/src/mesa/drivers/dri/intel/intel_context.h index 552b9cfed16..eac65ba5423 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) { |