<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE,...) does not work"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61635#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE,...) does not work"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61635">bug 61635</a>
              from <span class="vcard"><a class="email" href="mailto:rodrigorivascosta@gmail.com" title="rodrigo <rodrigorivascosta@gmail.com>"> <span class="fn">rodrigo</span></a>
</span></b>
        <pre>Thank, Emil, for your quick reply!

I've just tried this patch... The good news it that it no longer corrupts the
render, and no output to the dmesg, either. The bad news is that it still does
not work correctly.

This is what happens with the patched applied:

I'm sending a vertex attribute array with the same byte value for all the
vertices, and this value is used to calculate the color of the vertex, so I
expect it to render a solid color. The actual output is that most vertices are
rendered black (input 0) with just a few of them of random colors, changing
with each frame.

Weird...

If you think it could be useful I can try to extract the code into a small
compilable test case...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>