Home
last modified time | relevance | path

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

/external/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;
207 unsigned num_comps = util_bitcount(comps); in create_new_io_var() local
208 assert(num_comps > 1); in create_new_io_var()
215 var->type = glsl_replace_vector_type(var->type, num_comps); in create_new_io_var()
340 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop() local
385 num_comps); in vec_instr_stack_pop()
396 nir_ssa_def **srcs, unsigned first_comp, unsigned num_comps) in create_new_io() argument
402 new_intr->num_components = num_comps; in create_new_io()
404 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()
/external/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()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c251 unsigned num_comps = stream_out->num_components; in si_llvm_streamout_store_output() local
254 assert(num_comps && num_comps <= 4); in si_llvm_streamout_store_output()
255 if (!num_comps || num_comps > 4) in si_llvm_streamout_store_output()
259 for (int j = 0; j < num_comps; j++) { in si_llvm_streamout_store_output()
268 switch (num_comps) { in si_llvm_streamout_store_output()
275 vdata = ac_build_gather_values(&ctx->ac, out, num_comps); in si_llvm_streamout_store_output()
282 vdata = ac_build_gather_values(&ctx->ac, out, util_next_power_of_two(num_comps)); in si_llvm_streamout_store_output()
286 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf_idx], vdata, num_comps, in si_llvm_streamout_store_output()
/external/mesa3d/src/compiler/nir/
Dnir_lower_io.c351 const unsigned num_comps = in lower_load() local
357 num_comps * 2, 32, nir_type_uint32); in lower_load()
358 for (unsigned i = 0; i < num_comps; i++) { in lower_load()
365 dest_comp += num_comps; in lower_load()
462 const unsigned num_comps = in lower_store() local
466 if (write_mask & BITFIELD_MASK(num_comps)) { in lower_store()
469 BITFIELD_RANGE(src_comp, num_comps)); in lower_store()
473 for (unsigned i = 0; i < num_comps; i++) { in lower_store()
474 if (write_mask & BITFIELD_MASK(num_comps) & (1 << i)) in lower_store()
485 src_comp += num_comps; in lower_store()
[all …]
Dnir_linking_helpers.c308 unsigned num_comps = 4 - var->data.location_frac; in get_unmoveable_components_masks() local
309 comps_slot2 = (elements * dmul) - num_comps; in get_unmoveable_components_masks()
317 ((1 << num_comps) - 1) << var->data.location_frac; in get_unmoveable_components_masks()
/external/pdfium/third_party/libopenjpeg20/
Dopj_codec.h116 OPJ_UINT32 num_comps,
/external/tensorflow/tensorflow/core/lib/png/
Dpng_io.cc49 static void Convert8to16(const uint8* p8, int num_comps, int p8_row_bytes, in Convert8to16() argument
59 width *= num_comps; in Convert8to16()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blend_shaders.c229 cfg.fixed_function.num_comps = desc->nr_channels; in bifrost_get_blend_desc()
Dpan_cmdstream.c302 cfg.bifrost.internal.fixed_function.num_comps = 4; in panfrost_emit_bifrost_blend()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1570 unsigned num_comps = util_bitcount(output->component_mask); in radv_emit_stream_output() local
1576 assert(num_comps && num_comps <= 4); in radv_emit_stream_output()
1577 if (!num_comps || num_comps > 4) in radv_emit_stream_output()
1584 for (int i = 0; i < num_comps; i++) { in radv_emit_stream_output()
1591 switch (num_comps) { in radv_emit_stream_output()
1602 util_next_power_of_two(num_comps) : in radv_emit_stream_output()
1603 num_comps); in radv_emit_stream_output()
1608 vdata, num_comps, so_write_offsets[buf], in radv_emit_stream_output()
/external/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()
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c572 cfg.bifrost.internal.fixed_function.num_comps = 4; in bifrost_load_emit_blend_rt()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10692 unsigned num_comps = util_bitcount(output->component_mask); in emit_stream_output() local
10693 unsigned writemask = (1 << num_comps) - 1; in emit_stream_output()
10697 assert(num_comps && num_comps <= 4); in emit_stream_output()
10698 if (!num_comps || num_comps > 4) in emit_stream_output()
10706 for (unsigned i = 0; i < num_comps; i++) { in emit_stream_output()
/external/libabigail/tests/data/test-annotate/
Dtest21-pr19092.so.abi11552 <!-- int d_info::num_comps -->
11553 …<var-decl name='num_comps' type-id='type-id-18' visibility='default' filepath='../.././libiberty/c…
Dtest15-pr18892.so.abi4037 <!-- int d_info::num_comps -->
4038 …<var-decl name='num_comps' type-id='type-id-10' visibility='default' filepath='../../.././libsanit…
/external/libabigail/tests/data/test-read-dwarf/
Dtest21-pr19092.so.abi7667 …<var-decl name='num_comps' type-id='type-id-18' visibility='default' filepath='../.././libiberty/c…
Dtest15-pr18892.so.abi2187 …<var-decl name='num_comps' type-id='type-id-10' visibility='default' filepath='../../.././libsanit…