Lines Matching refs:VB
146 struct vertex_buffer *VB = &tnl->vb; in run_fog_stage() local
160 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; in run_fog_stage()
178 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] in run_fog_stage()
181 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); in run_fog_stage()
183 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage()
197 if (VB->EyePtr->size < 2) in run_fog_stage()
198 _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 ); in run_fog_stage()
201 input->count = VB->EyePtr->count; in run_fog_stage()
202 coord = VB->EyePtr->start; in run_fog_stage()
203 for (i = 0 ; i < VB->EyePtr->count; i++) { in run_fog_stage()
205 STRIDE_F(coord, VB->EyePtr->stride); in run_fog_stage()
211 input = VB->AttribPtr[_TNL_ATTRIB_FOG]; /* source data */ in run_fog_stage()
216 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage()
218 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; /* dest data */ in run_fog_stage()
223 compute_fog_blend_factors( ctx, VB->AttribPtr[_TNL_ATTRIB_FOG], input ); in run_fog_stage()
227 VB->AttribPtr[_TNL_ATTRIB_FOG] = input; in run_fog_stage()