Lines Matching defs:num_srcs
450 unsigned num_srcs = nir_op_infos[op].num_inputs;
454 sizeof(nir_alu_instr) + num_srcs * sizeof(nir_alu_src));
459 for (unsigned i = 0; i < num_srcs; i++)
489 unsigned num_srcs = nir_intrinsic_infos[op].num_srcs;
493 sizeof(nir_intrinsic_instr) + num_srcs * sizeof(nir_src));
501 for (unsigned i = 0; i < num_srcs; i++)
522 nir_tex_instr_create(nir_shader *shader, unsigned num_srcs)
529 instr->num_srcs = num_srcs;
530 instr->src = ralloc_array(instr, nir_tex_src, num_srcs);
531 for (unsigned i = 0; i < num_srcs; i++)
546 assert(src_idx < tex->num_srcs);
552 for (unsigned i = src_idx + 1; i < tex->num_srcs; i++) {
556 tex->num_srcs--;
1249 for (unsigned i = 0; i < instr->num_srcs; i++) {
1271 unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs;
1272 for (unsigned i = 0; i < num_srcs; i++) {