Lines Matching refs:txs
1437 * dst.xyz map to NIR txs opcode, and dst.w maps to query_levels
1444 nir_tex_instr *txs, *qlv;
1446 txs = nir_tex_instr_create(b->shader, 1);
1447 txs->op = nir_texop_txs;
1448 setup_texture_info(txs, tgsi_inst->Texture.Texture);
1455 txs->texture_index = tgsi_inst->Src[1].Register.Index;
1459 txs->src[0].src = nir_src_for_ssa(ttn_channel(b, src[0], X));
1460 txs->src[0].src_type = nir_tex_src_lod;
1462 nir_ssa_dest_init(&txs->instr, &txs->dest,
1463 nir_tex_instr_dest_size(txs), 32, NULL);
1464 nir_builder_instr_insert(b, &txs->instr);
1469 ttn_move_dest_masked(b, dest, &txs->dest.ssa, TGSI_WRITEMASK_XYZ);