Home
last modified time | relevance | path

Searched refs:num_comps (Results 1 – 22 of 22) sorted by relevance

/third_party/boost/libs/graph_parallel/test/
Dhohberg_biconnected_components_test.cpp33 void check_components(const Graph& g, std::size_t num_comps) in check_components() argument
36 std::vector<std::size_t> color_to_name(num_comps, not_mapped); in check_components()
38 BOOST_CHECK(get(edge_color, g, e) < num_comps); in check_components()
75 int num_comps = in test_small_hohberg_biconnected_components() local
79 BOOST_CHECK(num_comps == comps_expected); in test_small_hohberg_biconnected_components()
80 check_components(g, num_comps); in test_small_hohberg_biconnected_components()
96 int num_comps = hohberg_biconnected_components(g, get(edge_color, g)); in test_small_hohberg_biconnected_components() local
98 BOOST_CHECK(num_comps == comps_expected); in test_small_hohberg_biconnected_components()
99 check_components(g, num_comps); in test_small_hohberg_biconnected_components()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp91 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) = 0;
104 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) override;
209 unsigned num_comps = util_bitcount(comps); in create_new_io_var() local
210 assert(num_comps > 1); in create_new_io_var()
217 var->type = glsl_replace_vector_type(var->type, num_comps); in create_new_io_var()
342 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop() local
387 num_comps); in vec_instr_stack_pop()
398 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) in create_new_io() argument
404 new_intr->num_components = num_comps; in create_new_io()
406 nir_intrinsic_set_write_mask(new_intr, (1 << num_comps) - 1); in create_new_io()
[all …]
Dsfn_nir_vectorize_vs_inputs.c141 unsigned comp, unsigned num_comps, unsigned old_num_comps) in r600_create_new_load() argument
151 nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, num_comps, in r600_create_new_load()
153 new_intr->num_components = num_comps; in r600_create_new_load()
194 unsigned num_comps = in r600_vec_instr_stack_pop() local
210 num_comps, old_num_comps); in r600_vec_instr_stack_pop()
350 unsigned num_comps = util_bitcount(comps); in r600_create_new_io_var() local
351 assert(num_comps > 1); in r600_create_new_io_var()
358 var->type = glsl_replace_vector_type(var->type, num_comps); in r600_create_new_io_var()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_so_emit.c148 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
151 unsigned write_size = num_comps * sizeof(float); in so_emit_prim()
185 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
200 num_comps * sizeof(float)); in so_emit_prim()
203 num_comps * sizeof(float)); in so_emit_prim()
210 slot, start_comp, num_comps, idx); in so_emit_prim()
211 for (j = 0; j < num_comps; ++j) { in so_emit_prim()
/third_party/boost/libs/graph/example/
Dbiconnected_components.cpp51 std::size_t num_comps = biconnected_components(g, component); in main() local
52 std::cerr << "Found " << num_comps << " biconnected components.\n"; in main()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c278 unsigned num_comps = stream_out->num_components; in si_llvm_streamout_store_output() local
281 assert(num_comps && num_comps <= 4); in si_llvm_streamout_store_output()
282 if (!num_comps || num_comps > 4) in si_llvm_streamout_store_output()
286 for (int j = 0; j < num_comps; j++) { in si_llvm_streamout_store_output()
295 switch (num_comps) { in si_llvm_streamout_store_output()
302 vdata = ac_build_gather_values(&ctx->ac, out, num_comps); in si_llvm_streamout_store_output()
309 vdata = ac_build_gather_values(&ctx->ac, out, util_next_power_of_two(num_comps)); in si_llvm_streamout_store_output()
313 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf_idx], vdata, num_comps, in si_llvm_streamout_store_output()
/third_party/boost/libs/graph/test/
Dbiconnected_components_test.cpp89 std::size_t num_comps = biconnected_components( in test_graph() local
93 std::cout << "done.\n\t" << num_comps << " biconnected components.\n" in test_graph()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io.c358 const unsigned num_comps = in lower_load() local
364 num_comps * 2, 32, nir_type_uint32); in lower_load()
365 for (unsigned i = 0; i < num_comps; i++) { in lower_load()
372 dest_comp += num_comps; in lower_load()
468 const unsigned num_comps = in lower_store() local
472 if (write_mask & BITFIELD_MASK(num_comps)) { in lower_store()
475 BITFIELD_RANGE(src_comp, num_comps)); in lower_store()
479 for (unsigned i = 0; i < num_comps; i++) { in lower_store()
480 if (write_mask & BITFIELD_MASK(num_comps) & (1 << i)) in lower_store()
491 src_comp += num_comps; in lower_store()
[all …]
Dnir_linking_helpers.c326 unsigned num_comps = 4 - var->data.location_frac; in get_unmoveable_components_masks() local
327 comps_slot2 = (elements * dmul) - num_comps; in get_unmoveable_components_masks()
335 ((1 << num_comps) - 1) << var->data.location_frac; in get_unmoveable_components_masks()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c575 unsigned num_comps = intrin->dest.ssa.num_components; in split_unaligned_load() local
584 unsigned num_loads = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_load()
590 …nir_ssa_def *new_dest = nir_extract_bits(b, srcs, num_loads, 0, num_comps, intrin->dest.ssa.bit_si… in split_unaligned_load()
603 unsigned num_comps = value->num_components; in split_unaligned_store() local
612 unsigned num_stores = DIV_ROUND_UP(comp_size * num_comps, alignment); in split_unaligned_store()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah265dec.c610 guint32 num_comps; in _fill_screen_content_ext_parameter() local
632 num_comps = sps->chroma_format_idc ? 3 : 1; in _fill_screen_content_ext_parameter()
637 for (n = 0; n < num_comps; n++) in _fill_screen_content_ext_parameter()
644 for (n = 0; n < num_comps; n++) in _fill_screen_content_ext_parameter()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1067 unsigned num_comps = util_bitcount(output->component_mask); in radv_emit_stream_output() local
1073 assert(num_comps && num_comps <= 4); in radv_emit_stream_output()
1074 if (!num_comps || num_comps > 4) in radv_emit_stream_output()
1081 for (int i = 0; i < num_comps; i++) { in radv_emit_stream_output()
1088 switch (num_comps) { in radv_emit_stream_output()
1099 ? util_next_power_of_two(num_comps) in radv_emit_stream_output()
1100 : num_comps); in radv_emit_stream_output()
1104 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf], vdata, num_comps, so_write_offsets[buf], in radv_emit_stream_output()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp1182 unsigned num_comps = output_num_components[varying][component]; in emit_generic_urb_slot() local
1183 if (num_comps == 0) in emit_generic_urb_slot()
1192 brw_writemask_for_component_packing(num_comps, component); in emit_generic_urb_slot()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-format.c5149 gint num_comps = MIN (3, width - i * 3); in unpack_GRAY10_LE32() local
5157 for (c = 0; c < num_comps; c++) { in unpack_GRAY10_LE32()
5192 gint num_comps = MIN (3, width - i * 3); in pack_GRAY10_LE32() local
5198 for (c = 0; c < num_comps; c++) { in pack_GRAY10_LE32()
5234 gint num_comps = MIN (3, width - i * 3); in unpack_NV12_10LE32() local
5242 for (c = 0; c < num_comps; c++) { in unpack_NV12_10LE32()
5319 gint num_comps = MIN (3, width - i * 3); in pack_NV12_10LE32() local
5325 for (c = 0; c < num_comps; c++) { in pack_NV12_10LE32()
5355 if (IS_CHROMA_LINE_420 (y, flags) && num_comps < 3) in pack_NV12_10LE32()
5387 gint num_comps = MIN (3, width - i * 3); in unpack_NV16_10LE32() local
[all …]
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c632 cfg.fixed_function.num_comps = desc->nr_channels; in GENX()
Dpan_blitter.c155 cfg.internal.fixed_function.num_comps = 4; in pan_blitter_emit_blend()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c398 lower_load_vec32(nir_builder *b, nir_ssa_def *index, unsigned num_comps, nir_ssa_def **comps, nir_i… in lower_load_vec32() argument
400 for (unsigned i = 0; i < num_comps; i++) { in lower_load_vec32()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c245 cfg.internal.fixed_function.num_comps = 4; in panvk_meta_clear_attachments_emit_rsd()
Dpanvk_vX_cs.c645 cfg.internal.fixed_function.num_comps = 4; in panvk_per_arch()
Dpanvk_vX_meta_copy.c308 cfg.internal.fixed_function.num_comps = 4; in panvk_meta_copy_to_img_emit_rsd()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp11104 unsigned num_comps = util_bitcount(output->component_mask); in emit_stream_output() local
11105 unsigned writemask = (1 << num_comps) - 1; in emit_stream_output()
11109 assert(num_comps && num_comps <= 4); in emit_stream_output()
11110 if (!num_comps || num_comps > 4) in emit_stream_output()
11118 for (unsigned i = 0; i < num_comps; i++) { in emit_stream_output()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c356 cfg.fixed_function.num_comps = 4; in panfrost_emit_blend()