Home | History | Annotate | Download | only in tnl

Lines Matching refs:VB

129    struct vertex_buffer *VB = &tnl->vb;
139 VB->NdcPtr =
140 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr,
148 VB->NdcPtr = NULL;
149 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr,
162 /* Test userclip planes. This contributes to VB->ClipMask.
168 VB->ClipPtr,
178 VB->ClipAndMask = store->andmask;
179 VB->ClipOrMask = store->ormask;
180 VB->ClipMask = store->clipmask;
292 struct vertex_buffer *VB = &tnl->vb;
318 _mesa_vector4f_alloc( &store->results[i], 0, VB->Size, 32 );
325 for (i = 0; i < VB->Count; i++) {
332 VB->AttribPtr[0]->data[i][0],
333 VB->AttribPtr[0]->data[i][1],
334 VB->AttribPtr[0]->data[i][2],
335 VB->AttribPtr[0]->data[i][3]);
337 VB->AttribPtr[3]->data[i][0],
338 VB->AttribPtr[3]->data[i][1],
339 VB->AttribPtr[3]->data[i][2],
340 VB->AttribPtr[3]->data[i][3]);
342 VB->AttribPtr[2]->data[i][0],
343 VB->AttribPtr[2]->data[i][1],
344 VB->AttribPtr[2]->data[i][2],
345 VB->AttribPtr[2]->data[i][3]);
351 const GLubyte *ptr = (const GLubyte*) VB->AttribPtr[attr]->data;
352 const GLuint size = VB->AttribPtr[attr]->size;
353 const GLuint stride = VB->AttribPtr[attr]->stride;
368 /* copy the output registers into the VB->attribs arrays */
405 VB->ClipPtr = TransformRaw( &store->results[0],
407 VB->AttribPtr[0] );
411 switch (VB->ClipPtr->size) {
415 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 );
418 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 );
425 /* Setup the VB pointers so that the next pipeline stages get
428 VB->ClipPtr = &store->results[VARYING_SLOT_POS];
429 VB->ClipPtr->size = 4;
430 VB->ClipPtr->count = VB->Count;
433 VB->AttribPtr[VERT_ATTRIB_COLOR0] = &store->results[VARYING_SLOT_COL0];
434 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VARYING_SLOT_COL1];
435 VB->AttribPtr[VERT_ATTRIB_FOG] = &store->results[VARYING_SLOT_FOGC];
436 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->results[VARYING_SLOT_PSIZ];
437 VB->BackfaceColorPtr = &store->results[VARYING_SLOT_BFC0];
438 VB->BackfaceSecondaryColorPtr = &store->results[VARYING_SLOT_BFC1];
441 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]
449 VB->AttribPtr[VERT_ATTRIB_GENERIC0+i]
469 struct vertex_buffer *VB = &(tnl->vb);
471 const GLuint size = VB->Size;