Home | History | Annotate | Download | only in main

Lines Matching refs:texUnit

269    const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
285 if (texUnit->TexGenEnabled & S_BIT) {
286 switch (texUnit->GenS.Mode) {
288 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane);
291 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane);
308 if (texUnit->TexGenEnabled & T_BIT) {
309 switch (texUnit->GenT.Mode) {
311 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane);
314 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane);
331 if (texUnit->TexGenEnabled & R_BIT) {
332 switch (texUnit->GenR.Mode) {
334 texcoord[2] = DOT4(vObj, texUnit->GenR.ObjectPlane);
337 texcoord[2] = DOT4(vEye, texUnit->GenR.EyePlane);
351 if (texUnit->TexGenEnabled & Q_BIT) {
352 switch (texUnit->GenQ.Mode) {
354 texcoord[3] = DOT4(vObj, texUnit->GenQ.ObjectPlane);
357 texcoord[3] = DOT4(vEye, texUnit->GenQ.EyePlane);