/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_shader_dump.c | 492 uint num_src) in parse_op() argument 497 assert(num_src <= DUMP_MAX_OP_SRC); in parse_op() 517 for (i = 0; i < num_src; ++i) { in parse_op() 547 parse_op(di, assem, &dop, info->num_dst, info->num_src); in dump_inst() 553 for (i = 0; i < info->num_src; i++) { in dump_inst() 650 assert(info.num_src == 0); in svga_shader_dump() 652 info.num_src = 1; in svga_shader_dump() 665 assert(info.num_src == 0); in svga_shader_dump() 668 info.num_src = 2; in svga_shader_dump() 671 info.num_src = 1; in svga_shader_dump() [all …]
|
D | svga_shader_op.h | 40 unsigned num_src:8; member
|
/external/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | lower.c | 90 assert(alu->num_src == 2); in ppir_lower_swap_args() 156 alu->num_src = 2; in ppir_lower_ddxy() 245 move_alu->num_src = 1; in ppir_lower_select() 289 assert(alu->num_src == 1); in ppir_lower_abs() 303 assert(alu->num_src == 1); in ppir_lower_neg() 316 assert(alu->num_src == 1); in ppir_lower_sat() 330 if (branch->num_src == 0) in ppir_lower_branch() 359 branch->num_src = 2; in ppir_lower_branch()
|
D | ppir.h | 240 int num_src; member 261 int num_src; member 275 int num_src; member 363 int num_src; member 489 return ppir_node_to_alu(node)->num_src; in ppir_node_get_src_num() 491 return ppir_node_to_branch(node)->num_src; in ppir_node_get_src_num() 493 return ppir_node_to_load(node)->num_src; in ppir_node_get_src_num() 495 return ppir_node_to_load_texture(node)->num_src; in ppir_node_get_src_num()
|
D | nir.c | 194 node->num_src = num_child; in ppir_emit_alu() 249 branch->num_src = 1; in ppir_emit_discard_if() 284 lnode->num_src = 1; in ppir_emit_intrinsic() 333 lnode->num_src = 1; in ppir_emit_intrinsic() 371 alu_node->num_src = 1; in ppir_emit_intrinsic() 494 node->num_src++; in ppir_emit_tex() 502 node->num_src++; in ppir_emit_tex() 528 load->num_src = 1; in ppir_emit_tex() 590 branch->num_src = 0; in ppir_emit_jump() 655 else_branch->num_src = 1; in ppir_emit_if() [all …]
|
D | codegen.c | 69 if (load->num_src) { in ppir_codegen_encode_varying() 105 if (load->num_src) { in ppir_codegen_encode_varying() 172 if (load->num_src) { in ppir_codegen_encode_uniform() 247 if (alu->num_src == 2) { in ppir_codegen_encode_vec_mul() 318 if (alu->num_src == 2) { in ppir_codegen_encode_scl_mul() 406 if (++src < alu->src + alu->num_src) { in ppir_codegen_encode_vec_add() 484 if (++src < alu->src + alu->num_src) { in ppir_codegen_encode_scl_add() 601 if (branch->num_src == 2) { in ppir_codegen_encode_branch() 607 } else if (branch->num_src == 0) { in ppir_codegen_encode_branch()
|
D | instr.c | 77 if (add_alu->num_src > 1) { in ppir_instr_insert_mul_node() 78 ppir_src *last_src = add_alu->src + add_alu->num_src - 1; in ppir_instr_insert_mul_node() 85 if (add_alu->num_src == 3) { in ppir_instr_insert_mul_node() 161 for (int j = 0; j < alu->num_src; j++) { in ppir_instr_update_src_pipeline()
|
D | node.c | 431 for (int i = 0; i < alu->num_src; i++) in ppir_node_replace_child() 451 for (int i = 0; i < load_texture->num_src; i++) in ppir_node_replace_child() 611 alu->num_src = 1; in ppir_node_insert_mov_local()
|
/external/mesa3d/src/broadcom/qpu/ |
D | qpu_disasm.c | 105 int num_src = v3d_qpu_add_op_num_src(instr->alu.add.op); in v3d_qpu_disasm_add() local 121 if (num_src >= 1) { in v3d_qpu_disasm_add() 129 if (num_src >= 2) { in v3d_qpu_disasm_add() 142 int num_src = v3d_qpu_mul_op_num_src(instr->alu.mul.op); in v3d_qpu_disasm_mul() local 164 if (num_src >= 1) { in v3d_qpu_disasm_mul() 172 if (num_src >= 2) { in v3d_qpu_disasm_mul()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_swizzle.c | 770 unsigned num_src = src_type.length / 4; in lp_build_pack_aos_scalars() local 774 assert(num_src <= num_dst); in lp_build_pack_aos_scalars() 776 for (i = 0; i < num_src; i++) { in lp_build_pack_aos_scalars() 779 for (i = num_src; i < num_dst; i++) { in lp_build_pack_aos_scalars() 806 unsigned num_src = dst_type.length / 4; in lp_build_unpack_broadcast_aos_scalars() local 811 for (i = 0; i < num_src; i++) { in lp_build_unpack_broadcast_aos_scalars() 818 if (num_src == 1) { in lp_build_unpack_broadcast_aos_scalars()
|
D | lp_bld_tgsi.c | 179 for (src = 0; src < emit_data->info->num_src; src++) { in lp_build_fetch_args() 183 emit_data->arg_count = emit_data->info->num_src; in lp_build_fetch_args()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_render_copy.c | 578 int num_src = ARRAY_SIZE(src); in test() local 582 num_src--; in test() 587 for (int i = 0; i < num_src; i++) in test() 594 for (int i = 0; i < num_src; i++) in test() 605 for (int i = 0; i < num_src; i++) in test() 611 for (int i = 0; i < num_src; i++) in test() 636 for (int i = 0; i < num_src; i++) in test() 675 for (int i = 0; i < num_src; i++) in test()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 514 int num_src; in ntt_emit_scalar() local 518 num_src = 2; in ntt_emit_scalar() 520 num_src = 1; in ntt_emit_scalar() 533 ureg_insn(c->ureg, tgsi_op, &this_dst, 1, srcs, num_src, false); in ntt_emit_scalar() 1076 int num_src = 0; in ntt_emit_mem() local 1098 src[num_src++] = ntt_get_src(c, instr->src[nir_src + 1]); /* offset */ in ntt_emit_mem() 1099 src[num_src++] = ntt_get_src(c, instr->src[0]); /* value */ in ntt_emit_mem() 1101 src[num_src++] = memory; in ntt_emit_mem() 1103 src[num_src++] = ntt_get_src(c, instr->src[nir_src++]); /* offset */ in ntt_emit_mem() 1105 src[num_src++] = ntt_get_src(c, instr->src[nir_src++]); /* value */ in ntt_emit_mem() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_private.h | 205 op->info->num_src - 1 : op->info->num_src; in num_inst_src_regs()
|
D | st_mesa_to_tgsi.c | 532 unsigned num_src; in compile_instruction() local 535 num_src = _mesa_num_inst_src_regs(inst->Opcode); in compile_instruction() 540 for (i = 0; i < num_src; i++) in compile_instruction() 551 src[num_src++] = t->samplers[inst->TexSrcUnit]; in compile_instruction() 559 src, num_src); in compile_instruction() 613 src, num_src, 0); in compile_instruction()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 272 unsigned num_src = r600_bytecode_get_num_operands(alu); in alu_uses_rel() local 279 for (src = 0; src < num_src; ++src) { in alu_uses_rel() 294 unsigned num_src = r600_bytecode_get_num_operands(alu); in alu_uses_lds() local 297 for (src = 0; src < num_src; ++src) { in alu_uses_lds() 470 int r, src, num_src, sel, elem, cycle; in check_vector() local 472 num_src = r600_bytecode_get_num_operands(alu); in check_vector() 473 for (src = 0; src < num_src; src++) { in check_vector() 500 int r, src, num_src, const_count, sel, elem, cycle; in check_scalar() local 502 num_src = r600_bytecode_get_num_operands(alu); in check_scalar() 503 for (const_count = 0, src = 0; src < num_src; ++src) { in check_scalar() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 77 unsigned num_src; member 134 return op_table[opcode].num_src; in op_num_src() 296 int num_dst, num_src; in liveness_analysis() local 336 num_src = op_num_src(opcode); in liveness_analysis() 338 switch(num_src) in liveness_analysis() 352 debug_printf("Op %d has %d src regs\n", opcode, num_src); in liveness_analysis()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_info.h | 75 unsigned num_src:3; member
|
D | tgsi_sanity.c | 331 if (info->num_src != inst->Instruction.NumSrcRegs) { in iter_instruction() 332 …error( ctx, "%s: Invalid number of source operands, should be %u", info->mnemonic, info->num_src ); in iter_instruction()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_info.h | 75 unsigned num_src:3; member
|
D | tgsi_sanity.c | 332 if (info->num_src != inst->Instruction.NumSrcRegs) { in iter_instruction() 334 tgsi_get_opcode_name(inst->Instruction.Opcode), info->num_src ); in iter_instruction()
|
D | tgsi_text.c | 1058 if (info->num_dst + info->num_src + info->is_tex == 0) { in parse_instruction() 1080 inst.Instruction.NumSrcRegs = info->num_src; in parse_instruction() 1099 assume(info->num_src <= TGSI_FULL_MAX_SRC_REGISTERS); in parse_instruction() 1103 for (i = 0; i < info->num_dst + info->num_src + info->is_tex; i++) { in parse_instruction() 1118 else if (i < info->num_dst + info->num_src) { in parse_instruction()
|
D | tgsi_info.c | 40 .output_mode = _output_mode, .num_dst = _num_dst, .num_src = _num_src, \
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_alu_to_scalar.c | 101 unsigned num_src = nir_op_infos[alu->op].num_inputs; in lower_alu_instr_scalar() local 280 for (i = 0; i < num_src; i++) { in lower_alu_instr_scalar()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_pair_schedule.c | 713 int prev_rgb_index, prev_alpha_index, i, num_src; in presub_nop() local 730 num_src = rc_presubtract_src_reg_count( in presub_nop() 732 for (i = 0; i < num_src; i++) { in presub_nop() 747 num_src = rc_presubtract_src_reg_count( in presub_nop() 749 for (i = 0; i < num_src; i++) { in presub_nop()
|