Lines Matching defs:gp
193 struct nv50_program *gp = nv50->gmtyprog;
195 if (gp) {
197 PUSH_DATA (push, gp->max_gpr);
199 PUSH_DATA (push, gp->max_out);
201 PUSH_DATA (push, gp->gp.prim_type);
203 PUSH_DATA (push, gp->gp.vert_count);
205 PUSH_DATA (push, gp->code_base);
207 nv50->state.prim_size = gp->gp.prim_type; /* enum matches vertex count */
209 nv50_program_update_context_state(nv50, gp, 2);
406 if (fp->gp.primid < 0x80) {
408 map[m++] = vp->gp.primid;
492 struct nv50_program *vp, struct nv50_program *gp)
496 for (i = 0; i < gp->in_nr; ++i) {
497 uint8_t oid = 0, mv = 0, mg = gp->in[i].mask;
500 if (vp->out[j].sn == gp->in[i].sn &&
501 vp->out[j].si == gp->in[i].si) {
525 struct nv50_program *gp = nv50->gmtyprog;
530 if (!gp)
534 m = nv50_vp_gp_mapping(map, m, vp, gp);
539 gp->vp.attrs[2]);