Lines Matching refs:instrs
1706 nir_tex_instr *instrs[4] = {instr, NULL, NULL, NULL};
1710 instrs[i] = nir_tex_instr_create(b->shader, instr->num_srcs);
1711 instrs[i]->op = instr->op;
1712 instrs[i]->coord_components = instr->coord_components;
1713 instrs[i]->sampler_dim = instr->sampler_dim;
1714 instrs[i]->is_array = instr->is_array;
1715 instrs[i]->is_shadow = instr->is_shadow;
1716 instrs[i]->is_new_style_shadow = instr->is_new_style_shadow;
1717 instrs[i]->component = instr->component;
1718 instrs[i]->dest_type = instr->dest_type;
1719 instrs[i]->texture = nir_deref_var_clone(texture, instrs[i]);
1720 instrs[i]->sampler = NULL;
1722 memcpy(instrs[i]->src, srcs, instr->num_srcs * sizeof(*instr->src));
1724 nir_ssa_dest_init(&instrs[i]->instr, &instrs[i]->dest,
1735 instrs[i]->src[instrs[i]->num_srcs - 1] = src;
1736 nir_builder_instr_insert(&b->nb, &instrs[i]->instr);
1746 vec4->src[i].src = nir_src_for_ssa(&instrs[i]->dest.ssa);