/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_passthrough_edgeflags.c | 42 shader->num_inputs == util_bitcount64(shader->info.inputs_read)); in lower_impl() 47 util_bitcount64(shader->info.outputs_written)); in lower_impl()
|
D | nir_linking_helpers.c | 1686 … 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()
|
D | nir_search_helpers.h | 107 if (util_bitcount64(val) != 2) in is_bitcount2()
|
D | nir_gather_info.c | 496 assert(util_bitcount64(slot_mask) == semantics.num_slots); in gather_intrinsic_info()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_util.h | 138 assert(util_bitcount64(onehot) == 1); in rogue_offset()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 570 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/ |
D | si_nir_optim.c | 175 util_bitcount64(shader->info.outputs_written) != 1) in si_nir_is_output_const_if_tex_is_const()
|
/third_party/mesa3d/src/util/ |
D | bitscan.h | 341 util_bitcount64(uint64_t n) in util_bitcount64() function
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf.c | 900 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/ |
D | radv_shader_args.c | 130 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()
|
D | radv_shader_info.c | 582 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/ |
D | ac_nir_lower_ngg.c | 1736 …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/ |
D | pan_shader.c | 219 info->attributes_read_count = util_bitcount64(info->attributes_read); in GENX()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_nir.cpp | 99 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()
|
D | st_program.c | 436 stvp->num_inputs = util_bitcount64(prog->info.inputs_read); in st_prepare_vertex_program()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 759 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/ |
D | brw_nir.c | 196 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/ |
D | crocus_context.h | 854 return bt->offsets[group] + util_bitcount64((bit - 1) & mask); in crocus_group_index_to_bti()
|
D | crocus_program.c | 719 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/ |
D | bi_ra.c | 202 count += util_bitcount64(*elem); in lcra_count_constraints()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_linker.c | 832 fragment_outputs = util_bitcount64(frag_outputs_written); in check_image_resources()
|
D | gl_nir_link_varyings.c | 3135 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/ |
D | sfn_nir.cpp | 357 int noutputs = util_bitcount64(sh->info.outputs_written); in r600_lower_clipvertex_to_clipdist()
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | helpers.cpp | 528 for (unsigned i = 0; i < util_bitcount64(desc_layouts_used); i++) in ~PipelineBuilder()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_pipeline.c | 857 unsigned slot = util_bitcount64(vs->attributes_read & in panvk_pipeline_builder_parse_vertex_input()
|