Lines Matching refs:term
175 /** Set an RGB or A combiner source term */
181 GLuint term;
185 * Translate pname to (term, alpha).
194 term = pname - GL_SOURCE0_RGB;
201 term = pname - GL_SOURCE0_ALPHA;
209 if ((term == 3) && (ctx->API != API_OPENGL
215 assert(term < MAX_COMBINER_TERMS);
218 * Error-check param (the source term)
259 texUnit->Combine.SourceA[term] = param;
261 texUnit->Combine.SourceRGB[term] = param;
265 /** Set an RGB or A combiner operand term */
271 GLuint term;
281 term = pname - GL_OPERAND0_RGB;
288 term = pname - GL_OPERAND0_ALPHA;
296 if ((term == 3) && (ctx->API != API_OPENGL
302 assert(term < MAX_COMBINER_TERMS);
315 && ((term < 2) || ctx->Extensions.ARB_texture_env_combine
323 legal = (term < 2) || ctx->Extensions.ARB_texture_env_combine
341 texUnit->Combine.OperandA[term] = param;
343 texUnit->Combine.OperandRGB[term] = param;