Searched refs:ntex (Results 1 – 2 of 2) sorted by relevance
404 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs); in clone_tex() local406 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()[all …]
1407 struct r600_bytecode_tex *ntex = r600_bytecode_tex(); in r600_bytecode_add_tex() local1410 if (!ntex) in r600_bytecode_add_tex()1412 memcpy(ntex, tex, sizeof(struct r600_bytecode_tex)); in r600_bytecode_add_tex()1425 if (ttex->dst_gpr == ntex->src_gpr) { in r600_bytecode_add_tex()1431 if (ntex->op == FETCH_OP_SET_GRADIENTS_H) in r600_bytecode_add_tex()1441 free(ntex); in r600_bytecode_add_tex()1446 if (ntex->src_gpr >= bc->ngpr) { in r600_bytecode_add_tex()1447 bc->ngpr = ntex->src_gpr + 1; in r600_bytecode_add_tex()1449 if (ntex->dst_gpr >= bc->ngpr) { in r600_bytecode_add_tex()1450 bc->ngpr = ntex->dst_gpr + 1; in r600_bytecode_add_tex()[all …]