Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_passthrough_edgeflags.c39 assert(shader->num_inputs == util_bitcount64(shader->info.inputs_read)); in lower_impl()
44 util_bitcount64(shader->info.outputs_written)); in lower_impl()
Dnir_linking_helpers.c1304 … variable->data.driver_location = util_bitcount64(patch_io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1306 variable->data.driver_location = util_bitcount64(io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1313 … variable->data.driver_location = util_bitcount64(patch_io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1315 variable->data.driver_location = util_bitcount64(io_mask & u_bit_consecutive64(0, loc)); in nir_assign_linked_io_var_locations()
1319 .num_linked_io_vars = util_bitcount64(io_mask), in nir_assign_linked_io_var_locations()
1320 .num_linked_patch_io_vars = util_bitcount64(patch_io_mask), in nir_assign_linked_io_var_locations()
Dnir_gather_info.c328 assert(util_bitcount64(slot_mask) == semantics.num_slots); in gather_intrinsic_info()
Dnir.c2414 util_bitcount64(*dual_slot & BITFIELD64_MASK(var->data.location)); in nir_remap_dual_slot_attributes()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_assemble.c291 attribute_count = util_bitcount64(s->info.inputs_read); in panfrost_shader_compile()
292 varying_count = util_bitcount64(s->info.outputs_written); in panfrost_shader_compile()
310 varying_count = util_bitcount64(s->info.inputs_read); in panfrost_shader_compile()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c507 if (devinfo->gen < 6 || util_bitcount64(prog->info.inputs_read & in brw_wm_populate_key()
582 if (devinfo->gen < 6 || util_bitcount64(prog->info.inputs_read & in brw_wm_populate_default_key()
587 key->nr_color_regions = util_bitcount64(outputs_written & in brw_wm_populate_default_key()
/external/mesa3d/src/util/
Dbitscan.h313 util_bitcount64(uint64_t n) in util_bitcount64() function
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c577 info->num_inputs = util_bitcount64(nir->info.inputs_read); in nir_tgsi_scan_shader()
771 unsigned i = util_bitcount64(nir->info.outputs_written & in nir_tgsi_scan_shader()
782 num_outputs = util_bitcount64(nir->info.outputs_written); in nir_tgsi_scan_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp108 nir->num_inputs = util_bitcount64(nir->info.inputs_read); in st_nir_assign_vs_in_locations()
118 util_bitcount64(nir->info.inputs_read & in st_nir_assign_vs_in_locations()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c671 compacted += util_bitcount64(bt->used_mask[i]); in iris_print_binding_table()
716 return bt->offsets[group] + util_bitcount64((bit - 1) & mask); in iris_group_index_to_bti()
934 next += util_bitcount64(bt->used_mask[i]); in iris_setup_binding_table()
2355 if (util_bitcount64(ish->nir->info.inputs_read & in iris_create_fs_state()
2367 util_bitcount64(info->inputs_read & BRW_FS_VARYING_INPUT_MASK) <= 16; in iris_create_fs_state()
Diris_state.c6190 int count = util_bitcount64(ice->state.bound_vertex_buffers); in iris_upload_dirty_render_state()
6337 util_bitcount64(ice->state.bound_vertex_buffers); in iris_upload_dirty_render_state()
6350 util_bitcount64(ice->state.bound_vertex_buffers) + in iris_upload_dirty_render_state()
/external/mesa3d/src/intel/compiler/
Dbrw_nir.c194 const unsigned num_inputs = util_bitcount64(nir->info.inputs_read); in brw_nir_lower_vs_inputs()
273 int slot = util_bitcount64(nir->info.inputs_read & in brw_nir_lower_vs_inputs()
Dbrw_vec4_visitor.cpp1230 int edge_attr = util_bitcount64(nir->info.inputs_read & in emit_urb_slot()
Dbrw_vec4.cpp2872 unsigned nr_attribute_slots = util_bitcount64(prog_data->inputs_read); in brw_compile_vs()
Dbrw_fs.cpp1736 if (util_bitcount64(nir->info.inputs_read & in calculate_urb_setup()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_linker.c655 fragment_outputs = util_bitcount64(frag_outputs_written); in check_image_resources()
Dlink_varyings.cpp3199 unsigned slots_used = util_bitcount64(reserved_out_slots); in link_varyings()
3205 unsigned slots_used = util_bitcount64(reserved_in_slots); in link_varyings()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c695 (util_bitcount64(nir->info.outputs_written) + add_clip) * 16; in radv_nir_shader_info_pass()
Dradv_nir_to_llvm.c1897 unsigned num_outputs = util_bitcount64(ctx->output_mask) + export_prim_id; in handle_vs_outputs_post()
2096 unsigned num_outputs = util_bitcount64(ctx->output_mask); in ngg_gs_get_vertex_storage()
3159 unsigned num_outputs = util_bitcount64(ctx->output_mask) + export_view_index; in gfx10_ngg_gs_emit_epilogue_2()
/external/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp372 for (unsigned i = 0; i < util_bitcount64(desc_layouts_used); i++) in ~PipelineBuilder()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y2617 util_bitcount64(state->prog->info.inputs_read);
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c2214 var.data.driver_location = util_bitcount64(nir->info.outputs_written & in lp_build_nir_llvm()
Dlp_bld_nir_soa.c1749 uint32_t num_inputs = util_bitcount64(bld->bld_base.shader->info.inputs_read); in emit_prologue()