Home
last modified time | relevance | path

Searched refs:src_count (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2.c68 if (instr->src_count == 3) in alu_vector_prio()
74 return instr->src_count == 2 ? 2 : 3; in alu_vector_prio()
85 if (instr->src_count > 1) in alu_scalar_prio()
131 if (s->instr_s || s->instr->src_count == 3) in insert()
198 ins->src_count = 1; in scalarize_case1()
325 if (!instr_v || instr_v->src_count < 3) { in sched_next()
347 if (!instr_s && instr_v->src_count < 3) { in sched_next()
353 assert(instr->src_count == 2); in sched_next()
416 instr->src_count == 2) { in schedule_instrs()
424 tex_lod->src_count = 1; in schedule_instrs()
Dir2_assemble.c223 tex->use_reg_lod = instr->src_count == 2; in fill_instr()
257 src2 = instr_v->src[instr_v->src_count > 1]; in fill_instr()
258 src3 = instr_v->src_count == 3 ? &instr_v->src[2] : NULL; in fill_instr()
267 if (instr_v->src_count == 1 && in fill_instr()
308 if (instr_s->src_count == 1) { in fill_instr()
314 assert(instr_s->src_count == 2); in fill_instr()
Dir2_nir.c344 instr->src_count = in instr_create_alu()
382 instr->src_count = 1; in ir2_instr_create_fetch()
468 instr->src_count = 3; in emit_alu()
485 instr->src_count = 3; in emit_alu()
630 instr->src_count = 1; in emit_intrinsic()
755 instr->src_count = 2; in emit_tex()
938 instr->src_count = 1; in emit_if()
953 instr->src_count = 2; in emit_if()
968 instr->src_count = 1; in emit_if()
983 instr->src_count = 1; in emit_if()
Dir2_private.h95 uint8_t src_count; member
259 for (struct ir2_src *it = instr->src; it != &instr->src[instr->src_count]; \
Dir2_cp.c33 instr->src_count == 1; in is_mov()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_builder.h.py195 ["bi_index src{}".format(i) for i in range(src_count(op))] +
207 ["src{}".format(i) for i in range(src_count(op))] +
212 modifier_lists, signature = signature, arguments = arguments, src_count =
213 src_count, typesize = typesize, should_skip = should_skip))
Dbi_printer.c.py237 …RIGHT + TEMPLATE).render(ops = ir_instructions, modifiers = modifier_lists, src_count = src_count))
Dbifrost_isa.py345 def src_count(op): function
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1402 unsigned src_count; in generate_fs_twiddle() local
1406 src_count = num_fs * src_channels; in generate_fs_twiddle()
1457 src_count *= 2; in generate_fs_twiddle()
1472 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
1484 lp_bld_quad_twiddle(gallivm, type, src, src_count, dst); in generate_fs_twiddle()
1487 memcpy(dst, src, sizeof(LLVMValueRef) * src_count); in generate_fs_twiddle()
1505 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
1510 return src_count; in generate_fs_twiddle()
1527 unsigned src_count, in fs_twiddle_transpose() argument
1541 assert(src_count == 4 || src_count == 2 || src_count == 1); in fs_twiddle_transpose()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_pair.c146 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
148 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
157 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
159 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_quad.c174 unsigned src_count, in lp_bld_quad_twiddle() argument
183 assert((src_count % 2) == 0); in lp_bld_quad_twiddle()
194 for (i = 0; i < src_count; i += 2) { in lp_bld_quad_twiddle()
Dlp_bld_quad.h98 unsigned src_count,
/third_party/ffmpeg/libavcodec/
Dvmdvideo.c140 int src_count, int src_size, int dest_len) in rle_unpack() argument
150 if (src_count & 1) { in rle_unpack()
178 } while (used < src_count); in rle_unpack()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_parser.cpp304 for (int k = 0; k < n->bc.op_ptr->src_count; ++k) { in decode_alu_group()
383 unsigned src_count = n->bc.op_ptr->src_count; in prepare_alu_group() local
391 n->src.resize(src_count); in prepare_alu_group()
461 } else if ((n->bc.op_ptr->src_count == 3 || n->bc.write_mask) && !(flags & AF_LDS)) { in prepare_alu_group()
475 for (unsigned s = 0; s < src_count; ++s) { in prepare_alu_group()
Dsb_bc_finalize.cpp584 unsigned src_count = 4; in finalize_fetch() local
589 src_count = 1; in finalize_fetch()
591 src_count = 2; in finalize_fetch()
598 for (unsigned chan = 0; chan < src_count; ++chan) { in finalize_fetch()
Dsb_expr.cpp282 switch (n.bc.op_ptr->src_count) { in fold()
352 unsigned src_count = b0.op_ptr->src_count; in ops_equal() local
360 for (unsigned s = 0; s < src_count; ++s) { in ops_equal()
623 if (n->bc.op_ptr->src_count != 2) in fold_assoc()
Dsb_gvn.cpp164 if (a->bc.op_ptr->src_count == 3 && !(a->bc.slot_flags & AF_V)) { in process_alu_src_constants()
Dsb_bc_dump.cpp240 if (alu.write_mask || (alu.op_ptr->src_count == 3 && alu.op < LDS_OP2_LDS_ADD)) { in print_dst()
393 for (int k = 0; k < n.bc.op_ptr->src_count; ++k) { in dump()
Dsb_sched.cpp146 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve()
231 unsigned nsrc = n->bc.op_ptr->src_count, i; in unreserve()
259 unsigned nsrc = n->bc.op_ptr->src_count, i; in try_reserve()
440 unsigned nsrc = n->bc.op_ptr->src_count; in try_reserve()
Dsb_ir.cpp531 if (bc.op_ptr->src_count == 2) { in interp_param()
Dsb_bc_builder.cpp422 if (aop->src_count<3) { in build_alu()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_queue.c176 uint32_t src_count; in vn_queue_submission_filter_batch_wsi_semaphores() local
181 src_count = u.submit_batch->waitSemaphoreCount; in vn_queue_submission_filter_batch_wsi_semaphores()
186 src_count = u.bind_sparse_batch->waitSemaphoreCount; in vn_queue_submission_filter_batch_wsi_semaphores()
197 for (uint32_t i = 0; i < src_count; i++) { in vn_queue_submission_filter_batch_wsi_semaphores()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_isa.h170 int src_count; member
Dr600_isa.c566 if (op->src_count == 3) in r600_isa_init()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc5770 const uint32_t src_count = in ConvertTexelForStorage() local
5772 if (src_count < required_count) { in ConvertTexelForStorage()
5773 Fail() << "texel has too few components for storage texture: " << src_count in ConvertTexelForStorage()
5782 if (src_count < dest_count) { in ConvertTexelForStorage()
5789 for (auto i = src_count; i < dest_count; i++) { in ConvertTexelForStorage()

12