Lines Matching defs:combine
43 * Texture combine functions
128 * \c GL_ZERO as combine inputs (which the code already supports). It can
134 const struct gl_tex_env_combine_state * combine,
138 const GLuint numColorArgs = combine->_NumArgsRGB;
139 const GLuint numAlphaArgs = combine->_NumArgsA;
169 switch (combine->ModeRGB) {
171 alpha_shift = combine->ScaleShiftA;
181 rgb_shift = combine->ScaleShiftRGB;
182 alpha_shift = combine->ScaleShiftA;
187 switch (combine->ModeRGB) {
223 switch (combine->SourceRGB[i]) {
231 args_RGB[i] = GetTexelOp(combine->SourceRGB[i] - GL_TEXTURE0);
247 switch (combine->OperandRGB[i]) {
273 if (combine->ModeRGB == GL_DOT3_RGBA_EXT ||
274 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]) {