/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_shader_dump.c | 481 uint num_src) in parse_op() argument 486 assert(num_src <= DUMP_MAX_OP_SRC); in parse_op() 506 for (i = 0; i < num_src; ++i) { in parse_op() 536 parse_op(di, assem, &dop, info->num_dst, info->num_src); in dump_inst() 542 for (i = 0; i < info->num_src; i++) { in dump_inst() 639 assert(info.num_src == 0); in svga_shader_dump() 641 info.num_src = 1; in svga_shader_dump() 654 assert(info.num_src == 0); in svga_shader_dump() 657 info.num_src = 2; in svga_shader_dump() 660 info.num_src = 1; in svga_shader_dump() [all …]
|
D | svga_shader_op.h | 40 unsigned num_src:8; member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_swizzle.c | 571 unsigned num_src = src_type.length / 4; in lp_build_pack_aos_scalars() local 575 assert(num_src <= num_dst); in lp_build_pack_aos_scalars() 577 for (i = 0; i < num_src; i++) { in lp_build_pack_aos_scalars() 580 for (i = num_src; i < num_dst; i++) { in lp_build_pack_aos_scalars() 607 unsigned num_src = dst_type.length / 4; in lp_build_unpack_broadcast_aos_scalars() local 612 for (i = 0; i < num_src; i++) { in lp_build_unpack_broadcast_aos_scalars() 619 if (num_src == 1) { in lp_build_unpack_broadcast_aos_scalars()
|
D | lp_bld_tgsi.c | 176 for (src = 0; src < emit_data->info->num_src; src++) { in lp_build_fetch_args() 180 emit_data->arg_count = emit_data->info->num_src; in lp_build_fetch_args()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_mesa_to_tgsi.c | 680 unsigned num_src; in compile_instruction() local 683 num_src = _mesa_num_inst_src_regs( inst->Opcode ); in compile_instruction() 691 for (i = 0; i < num_src; i++) in compile_instruction() 707 src, num_src, in compile_instruction() 716 src[num_src++] = t->samplers[inst->TexSrcUnit]; in compile_instruction() 723 src, num_src ); in compile_instruction() 731 src, num_src ); in compile_instruction() 739 src, num_src ); in compile_instruction() 763 src, num_src ); in compile_instruction()
|
D | st_glsl_to_tgsi.cpp | 485 return info->is_tex ? info->num_src - 1 : info->num_src; in num_inst_src_regs() 4215 unsigned num_src; in compile_tgsi_instruction() local 4218 num_src = num_inst_src_regs(inst->op); in compile_tgsi_instruction() 4226 for (i = 0; i < num_src; i++) in compile_tgsi_instruction() 4238 src, num_src, in compile_tgsi_instruction() 4250 src[num_src++] = t->samplers[inst->sampler]; in compile_tgsi_instruction() 4259 src, num_src); in compile_tgsi_instruction() 4264 ureg_insn(ureg, inst->op, dst, num_dst, src, num_src); in compile_tgsi_instruction() 4271 src, num_src); in compile_tgsi_instruction()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_info.h | 75 unsigned num_src:3; member
|
D | tgsi_sanity.c | 333 if (info->num_src != inst->Instruction.NumSrcRegs) { in iter_instruction() 334 …error( ctx, "%s: Invalid number of source operands, should be %u", info->mnemonic, info->num_src ); in iter_instruction()
|
D | tgsi_text.c | 920 if (info->num_dst + info->num_src + info->is_tex == 0) { in parse_instruction() 941 inst.Instruction.NumSrcRegs = info->num_src; in parse_instruction() 945 for (i = 0; i < info->num_dst + info->num_src + info->is_tex; i++) { in parse_instruction() 960 else if (i < info->num_dst + info->num_src) { in parse_instruction()
|
D | tgsi_ureg.c | 936 assert(nr_src == info->num_src); in validate() 952 unsigned num_src ) in ureg_emit_insn() argument 958 validate( opcode, num_dst, num_src ); in ureg_emit_insn() 965 out[0].insn.NumSrcRegs = num_src; in ureg_emit_insn()
|
D | tgsi_ureg.h | 517 unsigned num_src );
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 737 int r, src, num_src, sel, elem, cycle; in check_vector() local 739 num_src = r600_bytecode_get_num_operands(bc, alu); in check_vector() 740 for (src = 0; src < num_src; src++) { in check_vector() 767 int r, src, num_src, const_count, sel, elem, cycle; in check_scalar() local 769 num_src = r600_bytecode_get_num_operands(bc, alu); in check_scalar() 770 for (const_count = 0, src = 0; src < num_src; ++src) { in check_scalar() 787 for (src = 0; src < num_src; ++src) { in check_scalar() 898 int i, j, r, src, num_src; in replace_gpr_with_pv_ps() local 922 num_src = r600_bytecode_get_num_operands(bc, alu); in replace_gpr_with_pv_ps() 923 for (src = 0; src < num_src; ++src) { in replace_gpr_with_pv_ps() [all …]
|
/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()
|