Searched refs:ntex (Results 1 – 2 of 2) sorted by relevance
401 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs); in clone_tex() local403 ntex->sampler_dim = tex->sampler_dim; in clone_tex()404 ntex->dest_type = tex->dest_type; in clone_tex()405 ntex->op = tex->op; in clone_tex()406 __clone_dst(state, &ntex->instr, &ntex->dest, &tex->dest); in clone_tex()407 for (unsigned i = 0; i < ntex->num_srcs; i++) { in clone_tex()408 ntex->src[i].src_type = tex->src[i].src_type; in clone_tex()409 __clone_src(state, &ntex->instr, &ntex->src[i].src, &tex->src[i].src); in clone_tex()411 ntex->coord_components = tex->coord_components; in clone_tex()412 ntex->is_array = tex->is_array; in clone_tex()[all …]
1440 struct r600_bytecode_tex *ntex = r600_bytecode_tex(); in r600_bytecode_add_tex() local1443 if (!ntex) in r600_bytecode_add_tex()1445 memcpy(ntex, tex, sizeof(struct r600_bytecode_tex)); in r600_bytecode_add_tex()1458 if (ttex->dst_gpr == ntex->src_gpr && in r600_bytecode_add_tex()1466 if (ntex->op == FETCH_OP_SET_GRADIENTS_H) in r600_bytecode_add_tex()1476 free(ntex); in r600_bytecode_add_tex()1481 if (ntex->src_gpr >= bc->ngpr) { in r600_bytecode_add_tex()1482 bc->ngpr = ntex->src_gpr + 1; in r600_bytecode_add_tex()1484 if (ntex->dst_gpr >= bc->ngpr) { in r600_bytecode_add_tex()1485 bc->ngpr = ntex->dst_gpr + 1; in r600_bytecode_add_tex()[all …]