st/mesa: fix typo s/BFC0/BFC1/
authorBrian Paul <brianp@vmware.com>
Thu, 11 Jun 2009 16:40:19 +0000 (10:40 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Jun 2009 16:40:19 +0000 (10:40 -0600)
src/mesa/state_tracker/st_atom_shader.c

index fc1ff5b..cb869c9 100644 (file)
@@ -237,8 +237,8 @@ find_translated_vp(struct st_context *st,
       }
       if (emitBFC1) {
          xvp->output_to_slot[VERT_RESULT_BFC1] = numVpOuts++;
-         xvp->output_to_semantic_name[VERT_RESULT_BFC0] = TGSI_SEMANTIC_COLOR;
-         xvp->output_to_semantic_index[VERT_RESULT_BFC0] = 1;
+         xvp->output_to_semantic_name[VERT_RESULT_BFC1] = TGSI_SEMANTIC_COLOR;
+         xvp->output_to_semantic_index[VERT_RESULT_BFC1] = 1;
       }
 
       /* Unneeded vertex program outputs will go to this slot.