Home
last modified time | relevance | path

Searched refs:util_logbase2_ceil (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_compute.c138 util_logbase2_ceil(info->block[0] + 1) + in panfrost_launch_grid()
139 util_logbase2_ceil(info->block[1] + 1) + in panfrost_launch_grid()
140 util_logbase2_ceil(info->block[2] + 1); in panfrost_launch_grid()
Dpan_mfbd.c117 unsigned offset = util_logbase2_ceil(bits) - 3; in panfrost_mfbd_rt_init_format()
/external/mesa3d/src/panfrost/lib/
Dpan_scratch.c70 return util_logbase2_ceil(DIV_ROUND_UP(stack_size, 16)); in panfrost_get_stack_shift()
Dpan_invocation.c74 unsigned bit_count = util_logbase2_ceil(values[i] + 1); in panfrost_pack_work_groups_compute()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_framebuffer.c38 unsigned idx = util_logbase2_ceil(MAX2(state->samples, 1)); in framebuffer_null_surface_init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_binning.c47 util_logbase2_ceil(sscreen->info.num_render_backends / sscreen->info.max_se); in si_find_bin_size()
48 unsigned log_num_se = util_logbase2_ceil(sscreen->info.max_se); in si_find_bin_size()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_image.c203 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(img->width, block_width))) | in emit_image_tex()
204 … A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(util_logbase2_ceil(DIV_ROUND_UP(img->height, block_height)))); in emit_image_tex()
Dfd6_texture.c356 …A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(u_minify(prsc->width0, lvl), bl… in fd6_sampler_view_create()
357 …A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(util_logbase2_ceil(DIV_ROUND_UP(u_minify(prsc->height0, lvl), b… in fd6_sampler_view_create()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_slab.c100 unsigned order = MAX2(slabs->min_order, util_logbase2_ceil(size)); in pb_slab_alloc()
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c338 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(width, block_width))) | in tu_image_view_init()
339 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(util_logbase2_ceil(DIV_ROUND_UP(height, block_height))); in tu_image_view_init()
/external/mesa3d/src/util/
Du_math.h493 util_logbase2_ceil(unsigned n) in util_logbase2_ceil() function
/external/mesa3d/src/gallium/drivers/lima/
Dlima_job.c561 dim = util_logbase2_ceil(max); in lima_generate_pp_stream()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c3716 util_logbase2_ceil(pipeline->device->physical_device->rad_info.num_render_backends / in radv_gfx9_compute_bin_size()
3718 unsigned log_num_se = util_logbase2_ceil(pipeline->device->physical_device->rad_info.max_se); in radv_gfx9_compute_bin_size()
3792 const unsigned samples_log = util_logbase2_ceil(total_samples); in radv_gfx10_compute_bin_size()