summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-20 09:43:51 -0600
committerBrian <[email protected]>2007-09-20 13:43:23 -0600
commitb5908a7671b408835777931e7180b8264f150bbd (patch)
tree971c8fbf7e6de523d2dc2e07e6a97e145331d913
parent742e32a40bf5ef1bd90b23aa0f7d451b7b7f0ba3 (diff)
fix input/output typos
-rw-r--r--src/mesa/state_tracker/st_atom_vs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_atom_vs.c b/src/mesa/state_tracker/st_atom_vs.c
index 078c052ae29..cc61436f53c 100644
--- a/src/mesa/state_tracker/st_atom_vs.c
+++ b/src/mesa/state_tracker/st_atom_vs.c
@@ -106,16 +106,16 @@ st_translate_vertex_shader(struct st_context *st,
vs.output_semantics[vs.num_outputs] = TGSI_SEMANTIC_POSITION;
break;
case VERT_RESULT_COL0:
- vs.input_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR0;
+ vs.output_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR0;
break;
case VERT_RESULT_COL1:
- vs.input_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR1;
+ vs.output_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR1;
break;
case VERT_RESULT_BFC0:
- vs.input_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR0B;
+ vs.output_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR0B;
break;
case VERT_RESULT_BFC1:
- vs.input_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR1B;
+ vs.output_semantics[vs.num_inputs] = TGSI_SEMANTIC_COLOR1B;
break;
default:
vs.output_semantics[vs.num_outputs] = TGSI_SEMANTIC_OTHER;