get rid of STATE_USER_ATTRIB/STATE_AUTO_ATTRIB
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c
index 8945f2d..900fb7e 100644
--- a/src/mesa/shader/prog_parameter.c
+++ b/src/mesa/shader/prog_parameter.c
@@ -289,16 +289,14 @@
    GLint i = _mesa_lookup_parameter_index(paramList, -1, name);
    if (i >= 0) {
       /* replace */
-      ASSERT(paramList->Parameters[i].StateIndexes[0] == STATE_USER_ATTRIB);
       if (attrib < 0)
          attrib = i;
-      paramList->Parameters[i].StateIndexes[1] = attrib;
+      paramList->Parameters[i].StateIndexes[0] = attrib;
    }
    else {
       /* add */
       gl_state_index state[STATE_LENGTH];
-      state[0] = STATE_USER_ATTRIB;
-      state[1] = attrib;
+      state[0] = attrib;
       i = _mesa_add_parameter(paramList, PROGRAM_INPUT, name,
                               size, NULL, state);
    }