Home
last modified time | relevance | path

Searched refs:util_is_power_of_two (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c132 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()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c277 !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()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_miptree.c309 !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()
/external/mesa3d/src/gallium/auxiliary/util/
Du_ringbuffer.c30 assert(util_is_power_of_two(dwords)); in util_ringbuffer_create()
Du_math.h275 util_is_power_of_two( unsigned v ) in util_is_power_of_two() function
605 if (util_is_power_of_two(x)) in util_next_power_of_two()
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_screen.c213 if(!util_is_power_of_two(templat->width0) || !util_is_power_of_two(templat->height0)) in galahad_screen_resource_create()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_debug.cpp76 assert(util_is_power_of_two(alignment)); in lp_check_alignment()
Dlp_bld_format_aos.c397 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()
Dlp_bld_sample.c127 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()
Dlp_bld_pack.c192 assert(util_is_power_of_two(num_vectors)); in lp_build_concat()
Dlp_bld_arit.c801 if(util_is_power_of_two(b)) { in lp_build_mul_imm()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir.cpp426 case TYPE_U32: return util_is_power_of_two(reg.data.u32); in isPow2()