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