Home
last modified time | relevance | path

Searched refs:util_logbase2_ceil (Results 1 - 20 of 20) sorted by relevance

/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_job_common.c265 reg.size_z = util_logbase2_ceil(surface_params->depth); in pvr_pbe_pack_state()
273 reg.size_x = util_logbase2_ceil(surface_params->width); in pvr_pbe_pack_state()
274 reg.size_y = util_logbase2_ceil(surface_params->height); in pvr_pbe_pack_state()
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_scratch.c70 return util_logbase2_ceil(DIV_ROUND_UP(stack_size, 16)); in panfrost_get_stack_shift()
H A Dpan_encoder.h176 unsigned bit_count = util_logbase2_ceil(values[i]); in panfrost_pack_work_groups_compute()
H A Dpan_cs.c352 return tile_buffer_bytes >> util_logbase2_ceil(bytes_per_pixel); in pan_select_max_tile_size()
411 unsigned offset = util_logbase2_ceil(bits) - 3; in pan_rt_init_format()
/third_party/mesa3d/src/asahi/lib/
H A Dtiling.h46 unsigned shift = util_logbase2_ceil(MIN3(width, height, 64)); in agx_select_tile_shift()
/third_party/mesa3d/src/intel/common/
H A Dintel_pixel_hash.h100 const unsigned bits = util_logbase2_ceil(num_ids); in intel_compute_pixel_hash_table_nway()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state_binning.c47 util_logbase2_ceil(sscreen->info.max_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()
/third_party/mesa3d/src/freedreno/fdl/
H A Dfd6_view.c314 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGW(util_logbase2_ceil(DIV_ROUND_UP(width, block_width))) | in fdl6_view_init()
315 A6XX_TEX_CONST_10_FLAG_BUFFER_LOGH(util_logbase2_ceil(DIV_ROUND_UP(height, block_height))); in fdl6_view_init()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_slab.c121 unsigned order = MAX2(slabs->min_order, util_logbase2_ceil(size)); in pb_slab_alloc_reclaimed()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_framebuffer.c159 psurf = ctx->dummy_surface[util_logbase2_ceil(ctx->gfx_pipeline_state.rast_samples+1)]; in zink_get_framebuffer()
H A Dzink_render_pass.c642 surf = zink_csurface(ctx->dummy_surface[util_logbase2_ceil(ctx->fb_state.samples)]); in begin_render_pass()
H A Dzink_context.c2176 unsigned idx = util_logbase2_ceil(MAX2(samples, 1)); in zink_update_vk_sample_locations()
2434 surf = zink_csurface(ctx->dummy_surface[util_logbase2_ceil(ctx->fb_state.samples)]); in zink_prep_fb_attachment()
2517 unsigned idx = util_logbase2_ceil(MAX2(ctx->gfx_pipeline_state.rast_samples + 1, 1)); in zink_init_vk_sample_locations()
H A Dzink_screen.c2080 unsigned idx = util_logbase2_ceil(MAX2(sample_count, 1)); in zink_get_sample_pixel_grid()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_cs.c415 util_logbase2_ceil(pipeline->cs.local_size.x + 1) + in emit_compute_job()
416 util_logbase2_ceil(pipeline->cs.local_size.y + 1) + in emit_compute_job()
417 util_logbase2_ceil(pipeline->cs.local_size.z + 1); in emit_compute_job()
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpicture_av1.c51 unsigned TileColsLog2 = util_logbase2_ceil(av1->tile_cols); in tile_info()
52 unsigned TileRowsLog2 = util_logbase2_ceil(av1->tile_rows); in tile_info()
/third_party/mesa3d/src/util/
H A Du_math.h430 util_logbase2_ceil(unsigned n) in util_logbase2_ceil() function
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_job.c511 dim = util_logbase2_ceil(max); in lima_generate_pp_stream()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_cmdstream.c4107 util_logbase2_ceil(info->block[0] + 1) + in panfrost_launch_grid()
4108 util_logbase2_ceil(info->block[1] + 1) + in panfrost_launch_grid()
4109 util_logbase2_ceil(info->block[2] + 1); in panfrost_launch_grid()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline.c5296 util_logbase2_ceil(pdevice->rad_info.max_render_backends / pdevice->rad_info.max_se); in radv_gfx9_compute_bin_size()
5297 unsigned log_num_se = util_logbase2_ceil(pdevice->rad_info.max_se); in radv_gfx9_compute_bin_size()
5367 const unsigned samples_log = util_logbase2_ceil(total_samples); in radv_gfx10_compute_bin_size()
H A Dradv_shader.c1362 size = round_up ? util_logbase2_ceil(size) : util_logbase2(size); in get_size_class()

Completed in 44 milliseconds