/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 169 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_create_front() 170 util_is_power_of_two(templat->height0) && in softpipe_resource_create_front() 171 util_is_power_of_two(templat->depth0)); in softpipe_resource_create_front() 234 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_from_handle() 235 util_is_power_of_two(templat->height0) && in softpipe_resource_from_handle() 236 util_is_power_of_two(templat->depth0)); in softpipe_resource_from_handle()
|
/external/mesa3d/src/util/ |
D | u_vector.c | 40 assert(util_is_power_of_two(size)); in u_vector_init() 41 assert(element_size < size && util_is_power_of_two(element_size)); in u_vector_init()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_gather.c | 121 } else if (!util_is_power_of_two(src_width)) { in lp_build_gather_elem() 133 util_is_power_of_two(src_width / 24)) { in lp_build_gather_elem() 202 } else if (!util_is_power_of_two(src_width)) { in lp_build_gather_elem_vec() 214 util_is_power_of_two(src_width / 24)) { in lp_build_gather_elem_vec()
|
D | lp_bld_debug.cpp | 63 assert(util_is_power_of_two(alignment)); in lp_check_alignment()
|
D | lp_bld_format_aos.c | 499 util_is_power_of_two(format_desc->block.bits)) { in lp_build_fetch_rgba_aos() 612 util_is_power_of_two(format_desc->block.bits) && in lp_build_fetch_rgba_aos()
|
D | lp_bld_sample.c | 117 state->pot_width = util_is_power_of_two(texture->width0); in lp_sampler_static_texture_state() 118 state->pot_height = util_is_power_of_two(texture->height0); in lp_sampler_static_texture_state() 119 state->pot_depth = util_is_power_of_two(texture->depth0); in lp_sampler_static_texture_state()
|
D | lp_bld_pack.c | 222 assert(util_is_power_of_two(num_vectors)); in lp_build_concat()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 310 bool is_npot = (!util_is_power_of_two(pt->width0) || !util_is_power_of_two(pt->height0)); in update_map()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_math.h | 185 util_is_power_of_two( unsigned v ) in util_is_power_of_two() function 462 if (util_is_power_of_two(x)) in util_next_power_of_two()
|
D | u_ringbuffer.c | 30 assert(util_is_power_of_two(dwords)); in util_ringbuffer_create()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_texture_state.c | 161 (!util_is_power_of_two(res->base.width0) || !util_is_power_of_two(res->base.height0))) { in etna_create_sampler_view_state()
|
D | etnaviv_blt.c | 181 assert(op->bpp > 0 && util_is_power_of_two(op->bpp)); in emit_blt_inplace()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 273 !util_is_power_of_two(tex->b.b.width0) || in r300_setup_flags() 280 !util_is_power_of_two(tex->b.b.height0) || in r300_setup_flags() 281 !util_is_power_of_two(tex->b.b.depth0); in r300_setup_flags()
|
/external/mesa3d/src/amd/common/ |
D | ac_gpu_info.c | 309 assert(util_is_power_of_two(dma.available_rings + 1)); in ac_query_gpu_info() 310 assert(util_is_power_of_two(compute.available_rings + 1)); in ac_query_gpu_info()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 404 !util_is_power_of_two(pt->width0) || in nv30_miptree_create() 405 !util_is_power_of_two(pt->height0) || in nv30_miptree_create() 406 !util_is_power_of_two(pt->depth0) || in nv30_miptree_create()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_math.h | 332 util_is_power_of_two( unsigned v ) in util_is_power_of_two() function 706 if (util_is_power_of_two(x)) in util_next_power_of_two()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_readpixels.c | 273 (!util_is_power_of_two(width) || in blit_to_staging() 274 !util_is_power_of_two(height))) in blit_to_staging()
|
D | st_cb_texture.c | 1531 (!util_is_power_of_two(src_templ.width0) || in st_TexSubImage() 1532 !util_is_power_of_two(src_templ.height0) || in st_TexSubImage() 1533 !util_is_power_of_two(src_templ.depth0))) { in st_TexSubImage()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_multiview.c | 89 if (0 && util_is_power_of_two(state->view_mask + 1)) { in build_view_index()
|
D | anv_allocator.c | 622 assert(util_is_power_of_two(block_size)); in anv_state_pool_init() 817 assert(util_is_power_of_two(state.alloc_size)); in anv_state_pool_free_no_vg() 1044 assert(util_is_power_of_two(bo.size)); in anv_bo_pool_free()
|
D | anv_formats.c | 439 !util_is_power_of_two(isl_layout->bpb)) { in anv_get_format_plane() 565 !util_is_power_of_two(isl_format_layouts[base_isl_format].bpb) && in get_image_format_features()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_screen.cpp | 108 || !util_is_power_of_two(sample_count)) in swr_is_format_supported() 1108 || !util_is_power_of_two(msaa_max_count)) { in swr_validate_env_options()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_query_hw.c | 304 debug_assert(util_is_power_of_two(size)); in fd_hw_sample_init()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 605 if (tiled && util_is_power_of_two(vk_format_get_blocksize(format)) && !scaled) { in radv_physical_device_get_format_properties() 611 if (linear && util_is_power_of_two(vk_format_get_blocksize(format)) && !scaled) { in radv_physical_device_get_format_properties()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 673 if (!util_is_power_of_two(bytes)) { in llvmpipe_get_format_alignment()
|