diff options
author | Anuj Phogat <[email protected]> | 2015-07-29 09:41:18 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2015-07-29 14:46:30 -0700 |
commit | 2484263fe97cebc9fa7a5c9de04c757dc6cc7713 (patch) | |
tree | 8beca0299cc6ae7b2b8589d1cef7652d259c4a0d /src/mesa/drivers/dri/i965/brw_reg.h | |
parent | 8413822c8cfaf9110625c1a4a66ee916c2a916e3 (diff) |
Delete duplicate function is_power_of_two() and use _mesa_is_pow_two()
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_reg.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_reg.h b/src/mesa/drivers/dri/i965/brw_reg.h index c8b134103bb..4867148c12f 100644 --- a/src/mesa/drivers/dri/i965/brw_reg.h +++ b/src/mesa/drivers/dri/i965/brw_reg.h @@ -853,7 +853,7 @@ static inline struct brw_reg spread(struct brw_reg reg, unsigned s) { if (s) { - assert(is_power_of_two(s)); + assert(_mesa_is_pow_two(s)); if (reg.hstride) reg.hstride += cvt(s) - 1; |