Searched refs:util_is_power_of_two (Results 1 – 12 of 12) sorted by relevance
132 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_create()133 util_is_power_of_two(templat->height0) && in softpipe_resource_create()134 util_is_power_of_two(templat->depth0)); in softpipe_resource_create()190 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_from_handle()191 util_is_power_of_two(templat->height0) && in softpipe_resource_from_handle()192 util_is_power_of_two(templat->depth0)); in softpipe_resource_from_handle()
277 !util_is_power_of_two(tex->b.b.width0) || in r300_setup_flags()284 !util_is_power_of_two(tex->b.b.height0) || in r300_setup_flags()285 !util_is_power_of_two(tex->b.b.depth0); in r300_setup_flags()
309 !util_is_power_of_two(pt->width0) || in nv30_miptree_create()310 !util_is_power_of_two(pt->height0) || in nv30_miptree_create()311 !util_is_power_of_two(pt->depth0) || in nv30_miptree_create()
30 assert(util_is_power_of_two(dwords)); in util_ringbuffer_create()
275 util_is_power_of_two( unsigned v ) in util_is_power_of_two() function605 if (util_is_power_of_two(x)) in util_next_power_of_two()
213 if(!util_is_power_of_two(templat->width0) || !util_is_power_of_two(templat->height0)) in galahad_screen_resource_create()
397 util_is_power_of_two(format_desc->block.bits)) { in lp_build_fetch_rgba_aos()426 util_is_power_of_two(format_desc->block.bits) && in lp_build_fetch_rgba_aos()
76 assert(util_is_power_of_two(alignment)); in lp_check_alignment()
127 state->pot_width = util_is_power_of_two(texture->width0); in lp_sampler_static_state()128 state->pot_height = util_is_power_of_two(texture->height0); in lp_sampler_static_state()129 state->pot_depth = util_is_power_of_two(texture->depth0); in lp_sampler_static_state()
192 assert(util_is_power_of_two(num_vectors)); in lp_build_concat()
801 if(util_is_power_of_two(b)) { in lp_build_mul_imm()
426 case TYPE_U32: return util_is_power_of_two(reg.data.u32); in isPow2()