Home | History | Annotate | Download | only in r200

Lines Matching refs:TexGenEnabled

1057       GLuint tmp = rmesa->TexGenEnabled;
1059 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit);
1060 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit);
1064 if (tmp != rmesa->TexGenEnabled) {
1132 rmesa->TexGenEnabled |= R200_TEXMAT_0_ENABLE<<unit;
1136 static GLuint r200_need_dis_texgen(const GLbitfield texGenEnabled,
1144 if (!(texGenEnabled & S_BIT)) {
1145 if (((texGenEnabled & T_BIT) && planeT[0] != 0.0) ||
1146 ((texGenEnabled & R_BIT) && planeR[0] != 0.0) ||
1147 ((texGenEnabled & Q_BIT) && planeQ[0] != 0.0)) {
1151 if (!(texGenEnabled & T_BIT)) {
1152 if (((texGenEnabled & S_BIT) && planeS[1] != 0.0) ||
1153 ((texGenEnabled & R_BIT) && planeR[1] != 0.0) ||
1154 ((texGenEnabled & Q_BIT) && planeQ[1] != 0.0)) {
1158 if (!(texGenEnabled & R_BIT)) {
1159 if (((texGenEnabled & S_BIT) && planeS[2] != 0.0) ||
1160 ((texGenEnabled & T_BIT) && planeT[2] != 0.0) ||
1161 ((texGenEnabled & Q_BIT) && planeQ[2] != 0.0)) {
1165 if (!(texGenEnabled & Q_BIT)) {
1166 if (((texGenEnabled & S_BIT) && planeS[3] != 0.0) ||
1167 ((texGenEnabled & T_BIT) && planeT[3] != 0.0) ||
1168 ((texGenEnabled & R_BIT) && planeR[3] != 0.0)) {
1200 rmesa->TexGenEnabled &= ~(R200_TEXGEN_TEXMAT_0_ENABLE<<unit);
1201 rmesa->TexGenEnabled &= ~(R200_TEXMAT_0_ENABLE<<unit);
1211 if (texUnit->TexGenEnabled & S_BIT) {
1217 if (texUnit->TexGenEnabled & T_BIT) {
1223 if (texUnit->TexGenEnabled & R_BIT) {
1230 if (texUnit->TexGenEnabled & Q_BIT) {
1240 texUnit->TexGenEnabled, texUnit->GenS.Mode, texUnit->GenT.Mode,
1258 GLuint needtgenable = r200_need_dis_texgen( texUnit->TexGenEnabled,
1266 texUnit->TexGenEnabled);
1278 (texUnit->TexGenEnabled & S_BIT) ? texUnit->GenS.ObjectPlane : I,
1279 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.ObjectPlane : I + 4,
1280 (texUnit->TexGenEnabled & R_BIT) ? texUnit->GenR.ObjectPlane : I + 8,
1281 (texUnit->TexGenEnabled & Q_BIT) ? texUnit->GenQ.ObjectPlane : I + 12);
1286 GLuint needtgenable = r200_need_dis_texgen( texUnit->TexGenEnabled,
1294 texUnit->TexGenEnabled);
1305 (texUnit->TexGenEnabled & S_BIT) ? texUnit->GenS.EyePlane : I,
1306 (texUnit->TexGenEnabled & T_BIT) ? texUnit->GenT.EyePlane : I + 4,
1307 (texUnit->TexGenEnabled & R_BIT) ? texUnit->GenR.EyePlane : I + 8,
1308 (texUnit->TexGenEnabled & Q_BIT) ? texUnit->GenQ.EyePlane : I + 12);
1318 (texUnit->TexGenEnabled & S_BIT) ? reflect : I,
1319 (texUnit->TexGenEnabled & T_BIT) ? reflect + 4 : I + 4,
1320 (texUnit->TexGenEnabled & R_BIT) ? reflect + 8 : I + 8,
1348 rmesa->TexGenEnabled |= R200_TEXGEN_TEXMAT_0_ENABLE << unit;