Lines Matching refs:tex2
650 nir_tex_instr *tex2 = nir_instr_as_tex(instr2);
652 if (tex1->op != tex2->op)
655 if (tex1->num_srcs != tex2->num_srcs)
658 if (tex1->src[i].src_type != tex2->src[i].src_type ||
659 !nir_srcs_equal(tex1->src[i].src, tex2->src[i].src)) {
664 if (tex1->coord_components != tex2->coord_components ||
665 tex1->sampler_dim != tex2->sampler_dim ||
666 tex1->is_array != tex2->is_array ||
667 tex1->is_shadow != tex2->is_shadow ||
668 tex1->is_new_style_shadow != tex2->is_new_style_shadow ||
669 tex1->component != tex2->component ||
670 tex1->texture_index != tex2->texture_index ||
671 tex1->sampler_index != tex2->sampler_index) {
675 if (memcmp(tex1->tg4_offsets, tex2->tg4_offsets,