Home
last modified time | relevance | path

Searched refs:util_bitcount64 (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_passthrough_edgeflags.c42 shader->num_inputs == util_bitcount64(shader->info.inputs_read)); in lower_impl()
47 util_bitcount64(shader->info.outputs_written)); in lower_impl()
Dnir_linking_helpers.c1686 … variable->data.driver_location = util_bitcount64(patch_io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1688 variable->data.driver_location = util_bitcount64(io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1695 … variable->data.driver_location = util_bitcount64(patch_io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1697 variable->data.driver_location = util_bitcount64(io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1701 .num_linked_io_vars = util_bitcount64(io_mask), in nir_assign_linked_io_var_locations()
1702 .num_linked_patch_io_vars = util_bitcount64(patch_io_mask), in nir_assign_linked_io_var_locations()
Dnir_search_helpers.h107 if (util_bitcount64(val) != 2) in is_bitcount2()
Dnir_gather_info.c496 assert(util_bitcount64(slot_mask) == semantics.num_slots); in gather_intrinsic_info()
/third_party/mesa3d/src/imagination/rogue/
Drogue_util.h138 assert(util_bitcount64(onehot) == 1); in rogue_offset()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c570 info->num_inputs = util_bitcount64(nir->info.inputs_read); in nir_tgsi_scan_shader()
767 unsigned i = util_bitcount64(nir->info.outputs_written & in nir_tgsi_scan_shader()
778 num_outputs = util_bitcount64(nir->info.outputs_written); in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_nir_optim.c175 util_bitcount64(shader->info.outputs_written) != 1) in si_nir_is_output_const_if_tex_is_const()
/third_party/mesa3d/src/util/
Dbitscan.h341 util_bitcount64(uint64_t n) in util_bitcount64() function
/third_party/mesa3d/src/intel/perf/
Dintel_perf.c900 if (util_bitcount64(perf->counter_infos[idx].query_mask) != (q + 1)) in get_passes_mask()
929 return util_bitcount64(queries_mask); in intel_perf_get_n_passes()
939 ASSERTED uint32_t n_passes = util_bitcount64(queries_mask); in intel_perf_get_counters_passes()
951 counter_pass[i].pass = util_bitcount64((queries_mask << clear_bits) >> clear_bits) - 1; in intel_perf_get_counters_passes()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c130 uint8_t num_push_consts = util_bitcount64(mask); in allocate_inline_push_consts()
147 user_sgpr_info->remaining_sgprs = remaining_sgprs - util_bitcount64(mask); in allocate_inline_push_consts()
268 for (unsigned i = 0; i < util_bitcount64(user_sgpr_info->inline_push_constant_mask); i++) { in declare_global_input_sgprs()
496 util_bitcount64(user_sgpr_info->inline_push_constant_mask)); in set_global_input_locs()
Dradv_shader_info.c582 unsigned num_per_primitive_inputs = util_bitcount64(per_primitive_input_mask); in radv_nir_shader_info_pass()
675 info->gs.gsvs_vertex_size = (util_bitcount64(nir->info.outputs_written) + add_clip) * 16; in radv_nir_shader_info_pass()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1736 …unsigned packed_location = util_bitcount64((b->shader->info.outputs_written & BITFIELD64_MASK(slot… in lower_ngg_gs_emit_vertex_with_counter()
1911 …unsigned packed_location = util_bitcount64((b->shader->info.outputs_written & BITFIELD64_MASK(slot… in ngg_gs_export_vertices()
2364 unsigned driver_location = util_bitcount64(out->mask & u_bit_consecutive64(0, location)); in ms_store_arrayed_output_intrin()
2367 unsigned num_outputs = util_bitcount64(out->mask); in ms_store_arrayed_output_intrin()
2420 unsigned num_outputs = util_bitcount64(out->mask); in ms_load_arrayed_output()
2424 unsigned driver_location = util_bitcount64(out->mask & u_bit_consecutive64(0, location)); in ms_load_arrayed_output()
2925 uint32_t lds_vtx_attr_size = util_bitcount64(l->lds.vtx_attr.mask) * max_vertices * 16; in ms_calculate_arrayed_output_layout()
2926 uint32_t lds_prm_attr_size = util_bitcount64(l->lds.prm_attr.mask) * max_primitives * 16; in ms_calculate_arrayed_output_layout()
2930 uint32_t vram_vtx_attr_size = util_bitcount64(l->vram.vtx_attr.mask) * max_vertices * 16; in ms_calculate_arrayed_output_layout()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c219 info->attributes_read_count = util_bitcount64(info->attributes_read); in GENX()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp99 nir->num_inputs = util_bitcount64(nir->info.inputs_read); in st_nir_assign_vs_in_locations()
109 util_bitcount64(nir->info.inputs_read & in st_nir_assign_vs_in_locations()
Dst_program.c436 stvp->num_inputs = util_bitcount64(prog->info.inputs_read); in st_prepare_vertex_program()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c759 compacted += util_bitcount64(bt->used_mask[i]); in iris_print_binding_table()
804 return bt->offsets[group] + util_bitcount64((bit - 1) & mask); in iris_group_index_to_bti()
1022 next += util_bitcount64(bt->used_mask[i]); in iris_setup_binding_table()
2667 if (util_bitcount64(info->inputs_read & BRW_FS_VARYING_INPUT_MASK) > 16) { in iris_create_shader_state()
2677 util_bitcount64(info->inputs_read & BRW_FS_VARYING_INPUT_MASK) <= 16; in iris_create_shader_state()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir.c196 const unsigned num_inputs = util_bitcount64(nir->info.inputs_read); in brw_nir_lower_vs_inputs()
283 slot = util_bitcount64(inputs_read & in brw_nir_lower_vs_inputs()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h854 return bt->offsets[group] + util_bitcount64((bit - 1) & mask); in crocus_group_index_to_bti()
Dcrocus_program.c719 compacted += util_bitcount64(bt->used_mask[i]); in crocus_print_binding_table()
954 next += util_bitcount64(bt->used_mask[i]); in crocus_setup_binding_table()
2882 if (screen->devinfo.ver < 6 || util_bitcount64(ish->nir->info.inputs_read & in crocus_create_fs_state()
2894 … screen->devinfo.ver > 6 && util_bitcount64(info->inputs_read & BRW_FS_VARYING_INPUT_MASK) <= 16; in crocus_create_fs_state()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c202 count += util_bitcount64(*elem); in lcra_count_constraints()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_linker.c832 fragment_outputs = util_bitcount64(frag_outputs_written); in check_image_resources()
Dgl_nir_link_varyings.c3135 unsigned slots_used = util_bitcount64(reserved_out_slots); in link_varyings()
3140 unsigned slots_used = util_bitcount64(reserved_in_slots); in link_varyings()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp357 int noutputs = util_bitcount64(sh->info.outputs_written); in r600_lower_clipvertex_to_clipdist()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp528 for (unsigned i = 0; i < util_bitcount64(desc_layouts_used); i++) in ~PipelineBuilder()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c857 unsigned slot = util_bitcount64(vs->attributes_read & in panvk_pipeline_builder_parse_vertex_input()

12