Lines Matching refs:VB
130 struct vertex_buffer *VB = &tnl->vb; in do_ndc_cliptest() local
140 VB->NdcPtr = in do_ndc_cliptest()
141 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest()
150 VB->NdcPtr = NULL; in do_ndc_cliptest()
151 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest()
172 VB->ClipPtr, in do_ndc_cliptest()
182 VB->ClipAndMask = store->andmask; in do_ndc_cliptest()
183 VB->ClipOrMask = store->ormask; in do_ndc_cliptest()
184 VB->ClipMask = store->clipmask; in do_ndc_cliptest()
296 struct vertex_buffer *VB = &tnl->vb; in run_vp() local
322 _mesa_vector4f_alloc( &store->results[i], 0, VB->Size, 32 ); in run_vp()
329 for (i = 0; i < VB->Count; i++) { in run_vp()
336 VB->AttribPtr[0]->data[i][0], in run_vp()
337 VB->AttribPtr[0]->data[i][1], in run_vp()
338 VB->AttribPtr[0]->data[i][2], in run_vp()
339 VB->AttribPtr[0]->data[i][3]); in run_vp()
341 VB->AttribPtr[3]->data[i][0], in run_vp()
342 VB->AttribPtr[3]->data[i][1], in run_vp()
343 VB->AttribPtr[3]->data[i][2], in run_vp()
344 VB->AttribPtr[3]->data[i][3]); in run_vp()
346 VB->AttribPtr[2]->data[i][0], in run_vp()
347 VB->AttribPtr[2]->data[i][1], in run_vp()
348 VB->AttribPtr[2]->data[i][2], in run_vp()
349 VB->AttribPtr[2]->data[i][3]); in run_vp()
355 const GLubyte *ptr = (const GLubyte*) VB->AttribPtr[attr]->data; in run_vp()
356 const GLuint size = VB->AttribPtr[attr]->size; in run_vp()
357 const GLuint stride = VB->AttribPtr[attr]->stride; in run_vp()
409 VB->ClipPtr = TransformRaw( &store->results[0], in run_vp()
411 VB->AttribPtr[0] ); in run_vp()
415 switch (VB->ClipPtr->size) { in run_vp()
419 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 ); in run_vp()
422 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 ); in run_vp()
432 VB->ClipPtr = &store->results[VARYING_SLOT_POS]; in run_vp()
433 VB->ClipPtr->size = 4; in run_vp()
434 VB->ClipPtr->count = VB->Count; in run_vp()
437 VB->AttribPtr[VERT_ATTRIB_COLOR0] = &store->results[VARYING_SLOT_COL0]; in run_vp()
438 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VARYING_SLOT_COL1]; in run_vp()
439 VB->AttribPtr[VERT_ATTRIB_FOG] = &store->results[VARYING_SLOT_FOGC]; in run_vp()
440 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->results[VARYING_SLOT_PSIZ]; in run_vp()
441 VB->BackfaceColorPtr = &store->results[VARYING_SLOT_BFC0]; in run_vp()
442 VB->BackfaceSecondaryColorPtr = &store->results[VARYING_SLOT_BFC1]; in run_vp()
445 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i] in run_vp()
453 VB->AttribPtr[VERT_ATTRIB_GENERIC0+i] in run_vp()
473 struct vertex_buffer *VB = &(tnl->vb); in init_vp() local
475 const GLuint size = VB->Size; in init_vp()