10 struct texenv_fragment_program {
11 struct ureg src_previous;
13 struct ureg emit_texenv(struct texenv_fragment_program *p, int unit)
15 struct state_key *key;
16 emit_combine(p, key->unit[unit].ModeRGB);
21 struct texenv_fragment_program p;
24 p.src_previous = emit_texenv(&p, unit);