Home | History | Annotate | Download | only in tnl

Lines Matching refs:VB

131    struct vertex_buffer *VB = &tnl->vb;
141 VB->NdcPtr =
142 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr,
150 VB->NdcPtr = NULL;
151 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr,
164 /* Test userclip planes. This contributes to VB->ClipMask.
170 VB->ClipPtr,
180 VB->ClipAndMask = store->andmask;
181 VB->ClipOrMask = store->ormask;
182 VB->ClipMask = store->clipmask;
315 struct vertex_buffer *VB = &tnl->vb;
346 _mesa_vector4f_alloc( &store->results[i], 0, VB->Size, 32 );
353 for (i = 0; i < VB->Count; i++) {
360 VB->AttribPtr[0]->data[i][0],
361 VB->AttribPtr[0]->data[i][1],
362 VB->AttribPtr[0]->data[i][2],
363 VB->AttribPtr[0]->data[i][3]);
365 VB->AttribPtr[3]->data[i][0],
366 VB->AttribPtr[3]->data[i][1],
367 VB->AttribPtr[3]->data[i][2],
368 VB->AttribPtr[3]->data[i][3]);
370 VB->AttribPtr[2]->data[i][0],
371 VB->AttribPtr[2]->data[i][1],
372 VB->AttribPtr[2]->data[i][2],
373 VB->AttribPtr[2]->data[i][3]);
379 const GLubyte *ptr = (const GLubyte*) VB->AttribPtr[attr]->data;
380 const GLuint size = VB->AttribPtr[attr]->size;
381 const GLuint stride = VB->AttribPtr[attr]->stride;
396 /* copy the output registers into the VB->attribs arrays */
432 for (i = 0; i < VB->Count; i++) {
439 for (i = 0; i < VB->Count; i++) {
450 VB->ClipPtr = TransformRaw( &store->results[0],
452 VB->AttribPtr[0] );
456 switch (VB->ClipPtr->size) {
460 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 );
463 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 );
470 /* Setup the VB pointers so that the next pipeline stages get
473 VB->ClipPtr = &store->results[VERT_RESULT_HPOS];
474 VB->ClipPtr->size = 4;
475 VB->ClipPtr->count = VB->Count;
478 VB->AttribPtr[VERT_ATTRIB_COLOR0] = &store->results[VERT_RESULT_COL0];
479 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VERT_RESULT_COL1];
480 VB->AttribPtr[VERT_ATTRIB_FOG] = &store->results[VERT_RESULT_FOGC];
481 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->results[VERT_RESULT_PSIZ];
482 VB->BackfaceColorPtr = &store->results[VERT_RESULT_BFC0];
483 VB->BackfaceSecondaryColorPtr = &store->results[VERT_RESULT_BFC1];
486 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]
493 VB->AttribPtr[VERT_ATTRIB_GENERIC0+i]
513 struct vertex_buffer *VB = &(tnl->vb);
515 const GLuint size = VB->Size;