mesa: Add vertex.attrib 0-15 to arb_input_attrib_string.
authorMarkus Amsler <markus.amsler@oribi.org>
Mon, 17 Mar 2008 11:11:11 +0000 (12:11 +0100)
committerJerome Glisse <glisse@freedesktop.org>
Mon, 17 Mar 2008 11:11:11 +0000 (12:11 +0100)
src/mesa/shader/prog_print.c

index e92837f739ef4030fbd58769806a66ec3184a80f..308cce2206c5497815ad1c6d7b61f428a7d716ca 100644 (file)
@@ -99,7 +99,23 @@ arb_input_attrib_string(GLint index, GLenum progType)
       "vertex.texcoord[4]",
       "vertex.texcoord[5]",
       "vertex.texcoord[6]",
-      "vertex.texcoord[7]"
+      "vertex.texcoord[7]",
+      "vertex.attrib[0]",
+      "vertex.attrib[1]",
+      "vertex.attrib[2]",
+      "vertex.attrib[3]",
+      "vertex.attrib[4]",
+      "vertex.attrib[5]",
+      "vertex.attrib[6]",
+      "vertex.attrib[7]",
+      "vertex.attrib[8]",
+      "vertex.attrib[9]",
+      "vertex.attrib[10]",
+      "vertex.attrib[11]",
+      "vertex.attrib[12]",
+      "vertex.attrib[13]",
+      "vertex.attrib[14]",
+      "vertex.attrib[15]"
    };
    const char *fragAttribs[] = {
       "fragment.position",