aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_reg.h')
-rw-r--r--src/intel/compiler/brw_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_reg.h b/src/intel/compiler/brw_reg.h
index 60dc2778edd..865cd9e0f36 100644
--- a/src/intel/compiler/brw_reg.h
+++ b/src/intel/compiler/brw_reg.h
@@ -986,7 +986,7 @@ static inline struct brw_reg
spread(struct brw_reg reg, unsigned s)
{
if (s) {
- assert(_mesa_is_pow_two(s));
+ assert(util_is_power_of_two_nonzero(s));
if (reg.hstride)
reg.hstride += cvt(s) - 1;