Home
last modified time | relevance | path

Searched refs:ntex (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_clone.c402 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()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c1435 struct r600_bytecode_tex *ntex = r600_bytecode_tex(); in r600_bytecode_add_tex() local
1438 if (!ntex) in r600_bytecode_add_tex()
1440 memcpy(ntex, tex, sizeof(struct r600_bytecode_tex)); in r600_bytecode_add_tex()
1453 if (ttex->dst_gpr == ntex->src_gpr && in r600_bytecode_add_tex()
1461 if (ntex->op == FETCH_OP_SET_GRADIENTS_H) in r600_bytecode_add_tex()
1471 free(ntex); in r600_bytecode_add_tex()
1476 if (ntex->src_gpr >= bc->ngpr) { in r600_bytecode_add_tex()
1477 bc->ngpr = ntex->src_gpr + 1; in r600_bytecode_add_tex()
1479 if (ntex->dst_gpr >= bc->ngpr) { in r600_bytecode_add_tex()
1480 bc->ngpr = ntex->dst_gpr + 1; in r600_bytecode_add_tex()
[all …]