Lines Matching refs:ntex
402 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs); in clone_tex() local
404 ntex->sampler_dim = tex->sampler_dim; in clone_tex()
405 ntex->dest_type = tex->dest_type; in clone_tex()
406 ntex->op = tex->op; in clone_tex()
407 __clone_dst(state, &ntex->instr, &ntex->dest, &tex->dest); in clone_tex()
408 for (unsigned i = 0; i < ntex->num_srcs; i++) { in clone_tex()
409 ntex->src[i].src_type = tex->src[i].src_type; in clone_tex()
410 __clone_src(state, &ntex->instr, &ntex->src[i].src, &tex->src[i].src); in clone_tex()
412 ntex->coord_components = tex->coord_components; in clone_tex()
413 ntex->is_array = tex->is_array; in clone_tex()
414 ntex->is_shadow = tex->is_shadow; in clone_tex()
415 ntex->is_new_style_shadow = tex->is_new_style_shadow; in clone_tex()
416 ntex->component = tex->component; in clone_tex()
417 memcpy(ntex->tg4_offsets, tex->tg4_offsets, sizeof(tex->tg4_offsets)); in clone_tex()
419 ntex->texture_index = tex->texture_index; in clone_tex()
420 ntex->sampler_index = tex->sampler_index; in clone_tex()
422 ntex->texture_non_uniform = tex->texture_non_uniform; in clone_tex()
423 ntex->sampler_non_uniform = tex->sampler_non_uniform; in clone_tex()
425 return ntex; in clone_tex()