Lines Matching refs:outputs
109 struct r300_shader_semantics* outputs = &vs->outputs; in set_vertex_inputs_outputs() local
112 boolean any_bcolor_used = outputs->bcolor[0] != ATTR_UNUSED || in set_vertex_inputs_outputs()
113 outputs->bcolor[1] != ATTR_UNUSED; in set_vertex_inputs_outputs()
120 if (outputs->pos != ATTR_UNUSED) { in set_vertex_inputs_outputs()
121 c->code->outputs[outputs->pos] = reg++; in set_vertex_inputs_outputs()
127 if (outputs->psize != ATTR_UNUSED) { in set_vertex_inputs_outputs()
128 c->code->outputs[outputs->psize] = reg++; in set_vertex_inputs_outputs()
140 if (outputs->color[i] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
141 c->code->outputs[outputs->color[i]] = reg++; in set_vertex_inputs_outputs()
143 outputs->color[1] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
150 if (outputs->bcolor[i] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
151 c->code->outputs[outputs->bcolor[i]] = reg++; in set_vertex_inputs_outputs()
159 if (outputs->generic[i] != ATTR_UNUSED) { in set_vertex_inputs_outputs()
160 c->code->outputs[outputs->generic[i]] = reg++; in set_vertex_inputs_outputs()
165 if (outputs->fog != ATTR_UNUSED) { in set_vertex_inputs_outputs()
166 c->code->outputs[outputs->fog] = reg++; in set_vertex_inputs_outputs()
171 c->code->outputs[outputs->wpos] = reg++; in set_vertex_inputs_outputs()
178 r300_shader_read_vs_outputs(r300, &vs->shader->info, &vs->shader->outputs); in r300_init_vs_outputs()
237 rc_copy_output(&compiler.Base, vs->outputs.pos, vs->outputs.wpos); in r300_translate_vertex_shader()