Searched refs:isl_is_pow2 (Results 1 – 4 of 4) sorted by relevance
54 isl_is_pow2(uintmax_t n) in isl_is_pow2() function65 assert(isl_is_pow2(a)); in isl_is_aligned()75 assert(a != 0 && isl_is_pow2(a)); in isl_align()
60 assert(isl_is_pow2(info->samples)); in isl_gen12_choose_image_alignment_el()
315 if (tiling != ISL_TILING_LINEAR && !isl_is_pow2(format_bpb)) { in isl_tiling_get_info()322 assert(bs % 3 == 0 && isl_is_pow2(format_bpb / 3)); in isl_tiling_get_info()581 assert(isl_is_pow2(samples)); in isl_get_interleaved_msaa_px_size_sa()1702 assert(isl_is_pow2(info->min_alignment_B) && isl_is_pow2(tile_size_B)); in isl_surf_init_s()1976 if (!isl_is_pow2(isl_format_get_layout(surf->format)->bpb)) in isl_surf_supports_ccs()
558 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX()