Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_clone.c404 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs); in clone_tex() local
406 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 …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c1393 struct r600_bytecode_tex *ntex = r600_bytecode_tex(); in r600_bytecode_add_tex() local
1396 if (!ntex) in r600_bytecode_add_tex()
1398 memcpy(ntex, tex, sizeof(struct r600_bytecode_tex)); in r600_bytecode_add_tex()
1411 if (ttex->dst_gpr == ntex->src_gpr) { in r600_bytecode_add_tex()
1417 if (ntex->op == FETCH_OP_SET_GRADIENTS_H) in r600_bytecode_add_tex()
1427 free(ntex); in r600_bytecode_add_tex()
1432 if (ntex->src_gpr >= bc->ngpr) { in r600_bytecode_add_tex()
1433 bc->ngpr = ntex->src_gpr + 1; in r600_bytecode_add_tex()
1435 if (ntex->dst_gpr >= bc->ngpr) { in r600_bytecode_add_tex()
1436 bc->ngpr = ntex->dst_gpr + 1; in r600_bytecode_add_tex()
[all …]