Lines Matching refs:texUnit
287 const struct gl_fixedfunc_texture_unit *texUnit =
304 if (texUnit->TexGenEnabled & S_BIT) {
305 switch (texUnit->GenS.Mode) {
307 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
310 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
327 if (texUnit->TexGenEnabled & T_BIT) {
328 switch (texUnit->GenT.Mode) {
330 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane);
333 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane);
350 if (texUnit->TexGenEnabled & R_BIT) {
351 switch (texUnit->GenR.Mode) {
353 texcoord[2] = DOT4(vObj, texUnit->GenR.ObjectPlane);
356 texcoord[2] = DOT4(vEye, texUnit->GenR.EyePlane);
370 if (texUnit->TexGenEnabled & Q_BIT) {
371 switch (texUnit->GenQ.Mode) {
373 texcoord[3] = DOT4(vObj, texUnit->GenQ.ObjectPlane);
376 texcoord[3] = DOT4(vEye, texUnit->GenQ.EyePlane);