From f38881c542a6e96ba45f185e372940cbb183647d Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 21 Sep 2007 10:53:45 -0600 Subject: [PATCH] fix in/out typos --- src/mesa/state_tracker/st_atom_vs.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_vs.c b/src/mesa/state_tracker/st_atom_vs.c index cf0414dd1e6..d9ae0cdfaca 100644 --- a/src/mesa/state_tracker/st_atom_vs.c +++ b/src/mesa/state_tracker/st_atom_vs.c @@ -133,23 +133,23 @@ st_translate_vertex_shader(struct st_context *st, switch (i) { case VERT_RESULT_HPOS: vs.output_semantic_name[vs.num_outputs] = TGSI_SEMANTIC_POSITION; - vs.output_semantic_index[vs.num_inputs] = 0; + vs.output_semantic_index[vs.num_outputs] = 0; break; case VERT_RESULT_COL0: vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_COLOR; - vs.output_semantic_index[vs.num_inputs] = 0; + vs.output_semantic_index[vs.num_outputs] = 0; break; case VERT_RESULT_COL1: vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_COLOR; - vs.output_semantic_index[vs.num_inputs] = 1; + vs.output_semantic_index[vs.num_outputs] = 1; break; case VERT_RESULT_BFC0: - vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_BCOLOR; - vs.output_semantic_index[vs.num_inputs] = 0; + vs.output_semantic_name[vs.num_outputs] = TGSI_SEMANTIC_BCOLOR; + vs.output_semantic_index[vs.num_outputs] = 0; break; case VERT_RESULT_BFC1: - vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_BCOLOR; - vs.output_semantic_index[vs.num_inputs] = 1; + vs.output_semantic_name[vs.num_outputs] = TGSI_SEMANTIC_BCOLOR; + vs.output_semantic_index[vs.num_outputs] = 1; break; case VERT_RESULT_FOGC: case VERT_RESULT_PSIZ: @@ -164,15 +164,15 @@ st_translate_vertex_shader(struct st_context *st, case VERT_RESULT_TEX5: case VERT_RESULT_TEX6: case VERT_RESULT_TEX7: - vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_TEXCOORD; - vs.output_semantic_index[vs.num_inputs] = i - VERT_RESULT_TEX0; + vs.output_semantic_name[vs.num_outputs] = TGSI_SEMANTIC_TEXCOORD; + vs.output_semantic_index[vs.num_outputs] = i - VERT_RESULT_TEX0; break; case VERT_RESULT_VAR0: /* fall-through */ default: assert(i - VERT_RESULT_VAR0 < MAX_VARYING); - vs.output_semantic_name[vs.num_inputs] = TGSI_SEMANTIC_GENERIC; - vs.output_semantic_index[vs.num_inputs] = i - VERT_RESULT_VAR0; + vs.output_semantic_name[vs.num_outputs] = TGSI_SEMANTIC_GENERIC; + vs.output_semantic_index[vs.num_outputs] = i - VERT_RESULT_VAR0; } vs.num_outputs++; -- 2.30.2