Home | History | Annotate | Download | only in nvc0

Lines Matching refs:tfb

215    struct nvc0_transform_feedback_state *tfb;
218 if (nvc0->gmtyprog) tfb = nvc0->gmtyprog->tfb;
220 if (nvc0->tevlprog) tfb = nvc0->tevlprog->tfb;
222 tfb = nvc0->vertprog->tfb;
224 IMMED_NVC0(push, NVC0_3D(TFB_ENABLE), (tfb && nvc0->num_tfbbufs) ? 1 : 0);
226 if (tfb && tfb != nvc0->state.tfb) {
228 if (tfb->varying_count[b]) {
229 unsigned n = (tfb->varying_count[b] + 3) / 4;
233 PUSH_DATA (push, tfb->varying_count[b]);
234 PUSH_DATA (push, tfb->stride[b]);
236 PUSH_DATAp(push, tfb->varying_index[b], n);
239 nvc0_so_target(nvc0->tfbbuf[b])->stride = tfb->stride[b];
245 nvc0->state.tfb = tfb;
255 if (tfb)
256 targ->stride = tfb->stride[b];
274 BCTX_REFN(nvc0->bufctx_3d, TFB, buf, WR);