Lines Matching refs:comp1
494 struct varying_component *comp1 = (struct varying_component *) comp1_v;
498 if (comp1->is_patch != comp2->is_patch)
499 return comp1->is_patch ? 1 : -1;
504 if (comp1->is_per_primitive != comp2->is_per_primitive)
505 return comp1->is_per_primitive ? 1 : -1;
510 if (comp1->is_intra_stage_only != comp2->is_intra_stage_only)
511 return comp1->is_intra_stage_only ? 1 : -1;
514 if (comp1->is_mediump != comp2->is_mediump)
515 return comp1->is_mediump ? 1 : -1;
520 if (comp1->interp_type != comp2->interp_type)
521 return comp1->interp_type - comp2->interp_type;
524 if (comp1->interp_loc != comp2->interp_loc)
525 return comp1->interp_loc - comp2->interp_loc;
528 const struct nir_variable_data *const data1 = &comp1->var->data;