Lines Matching refs:num_components
40 unsigned num_components, const uint8_t *swizzle,
96 unsigned num_components, const uint8_t *swizzle,
115 num_components = nir_op_infos[instr->op].input_sizes[src];
119 for (unsigned i = 0; i < num_components; ++i)
134 num_components, new_swizzle, state);
146 for (unsigned i = 0; i < num_components; ++i) {
157 if (var->cond && !var->cond(instr, src, num_components, new_swizzle))
170 if (i < num_components)
194 for (unsigned i = 0; i < num_components; ++i) {
217 for (unsigned i = 0; i < num_components; ++i) {
225 for (unsigned i = 0; i < num_components; ++i) {
247 unsigned num_components, const uint8_t *swizzle,
277 for (unsigned i = 0; i < num_components; i++) {
290 if (!match_value(expr->srcs[i], instr, i, num_components,
309 if (!match_value(expr->srcs[0], instr, 1, num_components,
313 return match_value(expr->srcs[1], instr, 0, num_components,
440 unsigned num_components, bitsize_tree *bitsize,
449 num_components = nir_op_infos[expr->opcode].output_size;
452 nir_ssa_dest_init(&alu->instr, &alu->dest.dest, num_components,
454 alu->dest.write_mask = (1 << num_components) - 1;
469 num_components = nir_op_infos[alu->op].input_sizes[i];
472 num_components, bitsize->srcs[i],
576 for (unsigned i = 0; i < instr->dest.dest.ssa.num_components; ++i)
586 if (!match_expression(search, instr, instr->dest.dest.ssa.num_components,
602 instr->dest.dest.ssa.num_components,
606 instr->dest.dest.ssa.num_components, tree,