Lines Matching defs:attrib
220 vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
243 draw_emit_vertex_attr(vinfo, emit, vroute[sem].interp, attrib);
246 r->vtxfmt[attrib] = nv30_vtxfmt(pscreen, format)->hw;
247 r->vtxptr[attrib] = vinfo->size | NV30_3D_VTXBUF_DMA1;
251 r->vtxprog[attrib][0] = 0x001f38d8;
252 r->vtxprog[attrib][1] = 0x0080001b | (attrib << 9);
253 r->vtxprog[attrib][2] = 0x0836106c;
254 r->vtxprog[attrib][3] = 0x2000f800 | (result + vroute[sem].vp30) << 2;
256 r->vtxprog[attrib][0] = 0x401f9c6c;
257 r->vtxprog[attrib][1] = 0x0040000d | (attrib << 8);
258 r->vtxprog[attrib][2] = 0x8106c083;
259 r->vtxprog[attrib][3] = 0x6041ff80 | (result + vroute[sem].vp40) << 2;
278 unsigned attrib = 0;
299 for (i = 0; i < vp->info.num_outputs && attrib < 16; i++) {
302 if (vroute_add(r, attrib, semantic, &index)) {
303 vp_attribs |= (1 << attrib++);
314 while (pntc && attrib < 16) {
316 if (vroute_add(r, attrib, TGSI_SEMANTIC_GENERIC, &index)) {
317 vp_attribs |= (1 << attrib++);
325 r->vtxprog[attrib - 1][3] |= 1;
326 for (i = 0; i < attrib; i++) {