Lines Matching refs:VB
147 struct vertex_buffer *VB = &tnl->vb; in run_fog_stage() local
161 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; in run_fog_stage()
179 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] in run_fog_stage()
182 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); in run_fog_stage()
184 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage()
198 if (VB->EyePtr->size < 2) in run_fog_stage()
199 _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 ); in run_fog_stage()
202 input->count = VB->EyePtr->count; in run_fog_stage()
203 coord = VB->EyePtr->start; in run_fog_stage()
204 for (i = 0 ; i < VB->EyePtr->count; i++) { in run_fog_stage()
206 STRIDE_F(coord, VB->EyePtr->stride); in run_fog_stage()
212 input = VB->AttribPtr[_TNL_ATTRIB_FOG]; /* source data */ in run_fog_stage()
217 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage()
219 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; /* dest data */ in run_fog_stage()
224 compute_fog_blend_factors( ctx, VB->AttribPtr[_TNL_ATTRIB_FOG], input ); in run_fog_stage()
228 VB->AttribPtr[_TNL_ATTRIB_FOG] = input; in run_fog_stage()