Lines Matching refs:OptRGB
127 struct mode_opt OptRGB[MAX_COMBINER_TERMS]; member
466 key->unit[i].OptRGB[j].Operand = translate_operand(comb->OperandRGB[j]); in make_state_key()
468 key->unit[i].OptRGB[j].Source = translate_source(comb->SourceRGB[j]); in make_state_key()
476 key->unit[i].OptRGB[0].Operand = OPR_SRC_COLOR; in make_state_key()
477 key->unit[i].OptRGB[0].Source = SRC_TEXTURE; in make_state_key()
478 key->unit[i].OptRGB[1].Operand = OPR_SRC_COLOR; in make_state_key()
479 key->unit[i].OptRGB[1].Source = texUnit->BumpTarget - GL_TEXTURE0 + SRC_TEXTURE0; in make_state_key()
662 if (key->unit[unit].OptA[i].Source != key->unit[unit].OptRGB[i].Source) in args_match()
667 switch (key->unit[unit].OptRGB[i].Operand) { in args_match()
676 switch (key->unit[unit].OptRGB[i].Operand) { in args_match()
840 key->unit[unit].OptRGB); in emit_texenv()
852 key->unit[unit].OptRGB); in emit_texenv()
865 key->unit[unit].OptRGB); in emit_texenv()
1078 load_texenv_source( p, key->unit[unit].OptRGB[i].Source, unit ); in load_texunit_sources()
1095 GLuint bumpedUnitNr = key->unit[unit].OptRGB[1].Source - SRC_TEXTURE0; in load_texunit_bumpmap()
1126 bump = get_source(p, key->unit[unit].OptRGB[0].Source, unit); in load_texunit_bumpmap()