Lines Matching refs:TexGenEnabled
765 GLuint tmp = rmesa->TexGenEnabled;
767 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE<<unit);
768 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE<<unit);
769 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_INPUT_MASK<<inputshift);
771 rmesa->TexGenEnabled |=
774 if (tmp != rmesa->TexGenEnabled) {
855 rmesa->TexGenEnabled |= RADEON_TEXMAT_0_ENABLE << unit;
866 GLuint tmp = rmesa->TexGenEnabled;
873 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_TEXMAT_0_ENABLE << unit);
874 rmesa->TexGenEnabled &= ~(RADEON_TEXMAT_0_ENABLE << unit);
875 rmesa->TexGenEnabled &= ~(RADEON_TEXGEN_INPUT_MASK << inputshift);
878 if ((texUnit->TexGenEnabled & (S_BIT|T_BIT|R_BIT|Q_BIT)) == 0) {
881 rmesa->TexGenEnabled |=
891 else if ( (texUnit->TexGenEnabled & S_BIT) &&
892 (texUnit->TexGenEnabled & T_BIT) &&
894 if ( ((texUnit->TexGenEnabled & R_BIT) &&
896 ((texUnit->TexGenEnabled & Q_BIT) &&
904 rmesa->TexGenEnabled |= RADEON_TEXGEN_TEXMAT_0_ENABLE << unit;
913 if ((texUnit->TexGenEnabled & (R_BIT | Q_BIT)) != 0) {
923 rmesa->TexGenEnabled |= RADEON_TEXGEN_INPUT_OBJ << inputshift;
932 rmesa->TexGenEnabled |= RADEON_TEXGEN_INPUT_EYE << inputshift;
942 rmesa->TexGenEnabled |= RADEON_TEXGEN_INPUT_EYE_REFLECT << inputshift;
950 rmesa->TexGenEnabled |= RADEON_TEXGEN_INPUT_EYE_NORMAL << inputshift;
963 if (tmp != rmesa->TexGenEnabled) {