Lines Matching refs:texUnit
293 const struct gl_fixedfunc_texture_unit *texUnit =
310 if (texUnit->TexGenEnabled & S_BIT) {
311 switch (texUnit->GenS.Mode) {
313 texcoord[0] = DOT4(vObj, texUnit->ObjectPlane[GEN_S]);
316 texcoord[0] = DOT4(vEye, texUnit->EyePlane[GEN_S]);
333 if (texUnit->TexGenEnabled & T_BIT) {
334 switch (texUnit->GenT.Mode) {
336 texcoord[1] = DOT4(vObj, texUnit->ObjectPlane[GEN_T]);
339 texcoord[1] = DOT4(vEye, texUnit->EyePlane[GEN_T]);
356 if (texUnit->TexGenEnabled & R_BIT) {
357 switch (texUnit->GenR.Mode) {
359 texcoord[2] = DOT4(vObj, texUnit->ObjectPlane[GEN_R]);
362 texcoord[2] = DOT4(vEye, texUnit->EyePlane[GEN_R]);
376 if (texUnit->TexGenEnabled & Q_BIT) {
377 switch (texUnit->GenQ.Mode) {
379 texcoord[3] = DOT4(vObj, texUnit->ObjectPlane[GEN_Q]);
382 texcoord[3] = DOT4(vEye, texUnit->EyePlane[GEN_Q]);