Lines Matching refs:combine
42 * Texture combine functions
127 * \c GL_ZERO as combine inputs (which the code already supports). It can
133 const struct gl_tex_env_combine_state * combine,
137 const GLuint numColorArgs = combine->_NumArgsRGB;
138 GLuint numAlphaArgs = combine->_NumArgsA;
168 switch (combine->ModeRGB) {
170 alpha_shift = combine->ScaleShiftA;
180 rgb_shift = combine->ScaleShiftRGB;
181 alpha_shift = combine->ScaleShiftA;
186 switch (combine->ModeRGB) {
222 switch (combine->SourceRGB[i]) {
230 args_RGB[i] = GetTexelOp(combine->SourceRGB[i] - GL_TEXTURE0);
246 switch (combine->OperandRGB[i]) {
272 if (combine->ModeRGB == GL_DOT3_RGBA_EXT ||
273 combine->ModeRGB == GL_DOT3_RGBA) {
281 switch (combine->ModeA) {
309 switch (combine->SourceA[i]) {
317 args_A[i] = GetTexelOp(combine->SourceA[i] - GL_TEXTURE0);
333 switch (combine->OperandA[i]) {