Lines Matching refs:tex2
294 nir_tex_instr *tex2 = nir_instr_as_tex(instr2); in nir_instrs_equal() local
296 if (tex1->op != tex2->op) in nir_instrs_equal()
299 if (tex1->num_srcs != tex2->num_srcs) in nir_instrs_equal()
302 if (tex1->src[i].src_type != tex2->src[i].src_type || in nir_instrs_equal()
303 !nir_srcs_equal(tex1->src[i].src, tex2->src[i].src)) { in nir_instrs_equal()
308 if (tex1->coord_components != tex2->coord_components || in nir_instrs_equal()
309 tex1->sampler_dim != tex2->sampler_dim || in nir_instrs_equal()
310 tex1->is_array != tex2->is_array || in nir_instrs_equal()
311 tex1->is_shadow != tex2->is_shadow || in nir_instrs_equal()
312 tex1->is_new_style_shadow != tex2->is_new_style_shadow || in nir_instrs_equal()
313 tex1->component != tex2->component || in nir_instrs_equal()
314 tex1->texture_index != tex2->texture_index || in nir_instrs_equal()
315 tex1->texture_array_size != tex2->texture_array_size || in nir_instrs_equal()
316 tex1->sampler_index != tex2->sampler_index) { in nir_instrs_equal()
322 !tex2->texture && !tex2->sampler); in nir_instrs_equal()