Lines Matching refs:ntex
404 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs); in clone_tex() local
406 ntex->sampler_dim = tex->sampler_dim; in clone_tex()
407 ntex->dest_type = tex->dest_type; in clone_tex()
408 ntex->op = tex->op; in clone_tex()
409 __clone_dst(state, &ntex->instr, &ntex->dest, &tex->dest); in clone_tex()
410 for (unsigned i = 0; i < ntex->num_srcs; i++) { in clone_tex()
411 ntex->src[i].src_type = tex->src[i].src_type; in clone_tex()
412 __clone_src(state, &ntex->instr, &ntex->src[i].src, &tex->src[i].src); in clone_tex()
414 ntex->coord_components = tex->coord_components; in clone_tex()
415 ntex->is_array = tex->is_array; in clone_tex()
416 ntex->is_shadow = tex->is_shadow; in clone_tex()
417 ntex->is_new_style_shadow = tex->is_new_style_shadow; in clone_tex()
418 ntex->component = tex->component; in clone_tex()
420 ntex->texture_index = tex->texture_index; in clone_tex()
422 ntex->texture = clone_deref_var(state, tex->texture, &ntex->instr); in clone_tex()
423 ntex->texture_array_size = tex->texture_array_size; in clone_tex()
425 ntex->sampler_index = tex->sampler_index; in clone_tex()
427 ntex->sampler = clone_deref_var(state, tex->sampler, &ntex->instr); in clone_tex()
429 return ntex; in clone_tex()