• Home
  • Raw
  • Download

Lines Matching refs:VB

254    struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;  in texgen_reflection_map_nv()  local
255 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_reflection_map_nv()
258 build_f_tab[VB->EyePtr->size]( out->start, in texgen_reflection_map_nv()
260 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_reflection_map_nv()
261 VB->EyePtr ); in texgen_reflection_map_nv()
264 out->count = VB->Count; in texgen_reflection_map_nv()
276 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() local
277 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_normal_map_nv()
279 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen_normal_map_nv()
281 GLuint count = VB->Count; in texgen_normal_map_nv()
304 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_sphere_map() local
305 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_sphere_map()
308 GLuint count = VB->Count; in texgen_sphere_map()
313 (build_m_tab[VB->EyePtr->size])( store->tmp_f, in texgen_sphere_map()
315 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_sphere_map()
316 VB->EyePtr ); in texgen_sphere_map()
338 struct vertex_buffer *VB = &tnl->vb; in texgen() local
339 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen()
343 const GLvector4f *obj = VB->AttribPtr[_TNL_ATTRIB_POS]; in texgen()
344 const GLvector4f *eye = VB->EyePtr; in texgen()
345 const GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen()
347 const GLuint count = VB->Count; in texgen()
486 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texgen_stage() local
500 VB->AttribPtr[VERT_ATTRIB_TEX0 + i] = &store->texcoord[i]; in run_texgen_stage()
562 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texgen_data() local
572 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); in alloc_texgen_data()
574 store->tmp_f = malloc(VB->Size * sizeof(GLfloat) * 3); in alloc_texgen_data()
575 store->tmp_m = malloc(VB->Size * sizeof(GLfloat)); in alloc_texgen_data()