Lines Matching defs:combine
89 const struct gl_tex_env_combine_state *combine = textureUnit->_CurrentCombine;
92 const GLfloat scaleRGB = (GLfloat) (1 << combine->ScaleShiftRGB);
93 const GLfloat scaleA = (GLfloat) (1 << combine->ScaleShiftA);
94 const GLuint numArgsRGB = combine->_NumArgsRGB;
95 const GLuint numArgsA = combine->_NumArgsA;
130 combine->ModeRGB,
131 combine->ModeA,
132 combine->SourceRGB[0],
133 combine->SourceA[0],
134 combine->SourceRGB[1],
135 combine->SourceA[1]);
142 const GLenum srcRGB = combine->SourceRGB[term];
143 const GLenum operandRGB = combine->OperandRGB[term];
238 const GLenum srcA = combine->SourceA[term];
239 const GLenum operandA = combine->OperandA[term];
299 /* RGB channel combine */
306 switch (combine->ModeRGB) {
434 _mesa_problem(ctx, "invalid combine mode");
438 /* Alpha channel combine */
445 switch (combine->ModeA) {
518 _mesa_problem(ctx, "invalid combine mode");
527 if (combine->ModeRGB == GL_DOT3_RGBA_EXT ||
528 combine->ModeRGB == GL_DOT3_RGBA) {
712 * OK, now apply the texture (aka texture combine/blend).