Home
last modified time | relevance | path

Searched refs:num_src (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c481 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 …]
Dsvga_shader_op.h40 unsigned num_src:8; member
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c571 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()
Dlp_bld_tgsi.c176 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/
Dst_mesa_to_tgsi.c680 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()
Dst_glsl_to_tgsi.cpp485 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/
Dtgsi_info.h75 unsigned num_src:3; member
Dtgsi_sanity.c333 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()
Dtgsi_text.c920 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()
Dtgsi_ureg.c936 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()
Dtgsi_ureg.h517 unsigned num_src );
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c737 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/
Dradeon_pair_schedule.c713 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()