/external/mesa3d/src/util/ |
D | bitscan.h | 208 util_last_bit(unsigned u) in util_last_bit() function 263 return util_last_bit(i); in util_last_bit_signed() 265 return util_last_bit(~(unsigned)i); in util_last_bit_signed()
|
D | bitset.h | 105 return util_last_bit(x[i]) + BITSET_WORDBITS * i; in __bitset_last_bit()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_shrink_vectors.c | 53 int last_bit = util_last_bit(mask); in shrink_dest_to_read_mask() 91 int last_bit = util_last_bit(mask); in opt_shrink_vectors_alu() 183 unsigned last_bit = util_last_bit(write_mask); in opt_shrink_vectors_intrinsic()
|
D | nir_lower_clip.c | 81 util_last_bit(ucp_enables)); in create_clipdist_vars() 279 if (use_clipdist_array && plane < util_last_bit(ucp_enables)) { in lower_clip_outputs()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_texture.c | 65 tex->num_samplers = util_last_bit(tex->valid_samplers); in bind_sampler_states() 86 tex->num_textures = util_last_bit(tex->valid_textures); in set_sampler_views()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_math.h | 541 static inline unsigned util_last_bit(unsigned u) in util_last_bit() function 566 return util_last_bit(i); in util_last_bit_signed() 568 return util_last_bit(~(unsigned)i); in util_last_bit_signed()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_vsc.c | 50 unsigned n = util_last_bit(nr); in number_size_bits()
|
/external/mesa3d/docs/relnotes/ |
D | 10.4.4.rst | 60 - gallium/util: Don't use \__builtin_clrsb in util_last_bit().
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 854 util_last_bit(ctx->FragmentProgram._Current->info.textures_used); in brw_prepare_drawing() 856 util_last_bit(ctx->GeometryProgram._Current->info.textures_used) : 0; in brw_prepare_drawing() 858 util_last_bit(ctx->TessEvalProgram._Current->info.textures_used) : 0; in brw_prepare_drawing() 860 util_last_bit(ctx->TessCtrlProgram._Current->info.textures_used) : 0; in brw_prepare_drawing() 862 util_last_bit(ctx->VertexProgram._Current->info.textures_used); in brw_prepare_drawing()
|
D | brw_cs.c | 194 util_last_bit(ctx->ComputeProgram._Current->SamplersUsed); in brw_upload_cs_prog()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 803 info->file_max[TGSI_FILE_SAMPLER] = util_last_bit(info->samplers_declared) - 1; in nir_tgsi_scan_shader() 804 info->file_max[TGSI_FILE_SAMPLER_VIEW] = util_last_bit(nir->info.textures_used) - 1; in nir_tgsi_scan_shader() 807 info->file_max[TGSI_FILE_IMAGE] = util_last_bit(info->images_declared) - 1; in nir_tgsi_scan_shader()
|
D | tgsi_to_nir.c | 1707 instr->num_components = util_last_bit(tgsi_inst->Dst[0].Register.WriteMask); in ttn_mem() 1766 unsigned num_components = util_last_bit(tgsi_inst->Dst[0].Register.WriteMask); in ttn_mem() 2322 s->info.num_ssbos = util_last_bit(scan.shader_buffers_declared); in ttn_compile_init() 2323 s->info.num_ubos = util_last_bit(scan.const_buffers_declared >> 1); in ttn_compile_init() 2324 s->info.num_images = util_last_bit(scan.images_declared); in ttn_compile_init() 2325 s->info.num_textures = util_last_bit(scan.samplers_declared); in ttn_compile_init()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.h | 206 if (util_last_bit(wrmask) != util_bitcount(wrmask) || in can_subdword_ssbo_store_use_smem()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 880 for (int j = 0; j < util_last_bit(compmask); j++) { in ir3_link_add() 885 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add()
|
D | ir3_shader.c | 77 unsigned n = util_last_bit(v->inputs[i].compmask) - 1; in fixup_regfootprint() 108 unsigned n = util_last_bit(v->sampler_prefetch[i].wrmask) - 1; in fixup_regfootprint()
|
/external/mesa3d/src/gallium/frontends/clover/core/ |
D | device.cpp | 127 return util_last_bit(pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_2D_SIZE)); in max_image_levels_2d()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_debug.c | 827 " - Constant buffer", 4, util_last_bit(enabled_constbuf), in si_dump_descriptors() 830 " - Shader buffer", 4, util_last_bit(enabled_shaderbuf), in si_dump_descriptors() 833 " - Sampler", 16, util_last_bit(enabled_samplers), si_get_sampler_slot, in si_dump_descriptors() 836 " - Image", 8, util_last_bit(enabled_images), si_get_image_slot, log); in si_dump_descriptors()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd3_sampler_state_create()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_helpers.c | 100 *dst_count = util_last_bit(enabled_buffers); in util_set_vertex_buffers_count()
|
/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8)); in fd4_sampler_state_create()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_sampler.c | 281 num_samplers = util_last_bit(samplers_used); in update_shader_samplers()
|
/external/mesa3d/src/mesa/main/ |
D | glspirv.c | 174 util_last_bit(prog->data->linked_stages & in _mesa_spirv_link_shaders()
|
/external/mesa3d/src/intel/dev/ |
D | gen_device_info.c | 1138 topology->max_slices = util_last_bit(slice_mask); in update_from_masks() 1139 topology->max_subslices = util_last_bit(subslice_mask); in update_from_masks()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_screen.c | 216 int log2_max_tex_size = util_last_bit(screen->specs.max_texture_size); in etna_screen_get_param() 287 return util_last_bit(screen->specs.max_texture_size); in etna_screen_get_paramf()
|