/external/mesa3d/src/util/ |
D | bitscan.h | 157 util_last_bit(unsigned u) in util_last_bit() function 212 return util_last_bit(i); in util_last_bit_signed() 214 return util_last_bit(~(unsigned)i); in util_last_bit_signed()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 66 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states() 84 tex->num_textures = util_last_bit(tex->valid_textures); in set_sampler_views()
|
D | freedreno_state.c | 224 so->count = util_last_bit(so->enabled_mask); in fd_set_vertex_buffers()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 468 util_last_bit(ctx->FragmentProgram._Current->SamplersUsed); in brw_try_draw_prims() 470 util_last_bit(ctx->GeometryProgram._Current->SamplersUsed) : 0; in brw_try_draw_prims() 472 util_last_bit(ctx->TessEvalProgram._Current->SamplersUsed) : 0; in brw_try_draw_prims() 474 util_last_bit(ctx->TessCtrlProgram._Current->SamplersUsed) : 0; in brw_try_draw_prims() 476 util_last_bit(ctx->VertexProgram._Current->SamplersUsed); in brw_try_draw_prims()
|
D | brw_cs.c | 209 util_last_bit(ctx->ComputeProgram._Current->SamplersUsed); in brw_upload_cs_prog()
|
D | brw_program.c | 697 unsigned sampler_count = util_last_bit(prog->SamplersUsed); in brw_setup_tex_for_precompile()
|
D | brw_vec4_gs_visitor.cpp | 340 util_last_bit(c->control_data_bits_per_vertex); in emit_control_data_bits()
|
D | brw_shader.cpp | 1150 int num_textures = util_last_bit(prog->SamplersUsed); in brw_assign_common_binding_table_offsets()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_debug.c | 455 util_last_bit(info->const_buffers_declared), in si_dump_descriptors() 456 util_last_bit(info->shader_buffers_declared), in si_dump_descriptors() 457 util_last_bit(info->samplers_declared), in si_dump_descriptors() 458 util_last_bit(info->images_declared), in si_dump_descriptors()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 95 *dst_count = util_last_bit(enabled_buffers); in util_set_vertex_buffers_count()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_shader.h | 358 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 90 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create()
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_compute.c | 273 (util_last_bit(info->per_thread_scratch_size - 1) - 10) : 0; in compute_get_gen75_per_thread_scratch_size()
|
D | ilo_state_shader.c | 133 (util_last_bit(per_thread_scratch_size - 1) - 10) : 0; in vertex_get_gen6_ff()
|
D | ilo_state_shader_ps.c | 392 (util_last_bit(info->per_thread_scratch_size - 1) - 10) : 0; in ps_get_gen6_ff()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd5_sampler_state_create()
|
D | fd5_program.c | 177 l->var[idx].loc + util_last_bit(l->var[idx].compmask)); in link_stream_out() 466 for (j = 0; j < util_last_bit(l.var[i].compmask); j++) in fd5_program_emit()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 90 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create()
|
/external/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 950 int max_outputs = util_last_bit(c->prog->info.outputs_written); in setup_registers_and_variables() 1052 s->info->num_textures = util_last_bit(prog->SamplersUsed); in prog_to_nir()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 82 rctx->blitter, util_last_bit(rctx->samplers[PIPE_SHADER_FRAGMENT].states.enabled_mask), in r600_blitter_begin() 86 rctx->blitter, util_last_bit(rctx->samplers[PIPE_SHADER_FRAGMENT].views.enabled_mask), in r600_blitter_begin()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_screen.c | 265 int log2_max_tex_size = util_last_bit(screen->specs.max_texture_size); in etna_screen_get_param()
|
D | etnaviv_state.c | 418 so->count = util_last_bit(so->enabled_mask); in etna_set_vertex_buffers()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_state.c | 299 so->count = util_last_bit(so->enabled_mask); in vc4_set_vertex_buffers()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 416 1 << (util_last_bit(mt->uniform_pitch / 4) - 1)); in nv30_miptree_create()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_shader_state.c | 429 uint32_t clpd_nr = util_last_bit(vp->vp.clip_enable | vp->vp.cull_enable); in nv50_fp_linkage_validate()
|