diff --git a/src/intel/common/mi_builder.h b/src/intel/common/mi_builder.h index 43b54e8f122..51ec3cb2249 100644 --- a/src/intel/common/mi_builder.h +++ b/src/intel/common/mi_builder.h @@ -980,7 +980,7 @@ mi_ushr_imm(struct mi_builder *b, struct mi_value src, uint32_t shift) while (shift) { int bit = u_bit_scan(&shift); assert(bit <= 5); - res = mi_ushr(b, res, mi_imm(1 << bit)); + res = mi_ushr(b, res, mi_imm(1ULL << bit)); } return res;