fix input/output typos
authorBrian <brian.paul@tungstengraphics.com>
Thu, 20 Sep 2007 15:43:51 +0000 (09:43 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 20 Sep 2007 19:43:23 +0000 (13:43 -0600)
src/mesa/state_tracker/st_atom_vs.c

index 078c052ae29f30f789a02a7eca55b3a2a77ff7db..cc61436f53c4777dfcec7982c470d1d1512c2684 100644 (file)
@@ -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;