[Nouveau] [Bug 61635] New: glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 28 13:02:30 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61635

          Priority: medium
            Bug ID: 61635
          Assignee: nouveau at lists.freedesktop.org
           Summary: glVertexAttribPointer(id, GL_UNSIGNED_BYTE,
                    GL_FALSE,...) does not work
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: rodrigorivascosta at gmail.com
          Hardware: x86 (IA32)
            Status: NEW
           Version: git
         Component: Drivers/DRI/nouveau
           Product: Mesa

I have a  NVidia GeForce 7600GT with the latest git nouveau driver (Gallium 0.4
on NV4B) and kernel 3.7.9.

I found the following problem: calling the function glVertexAttribPointer(idx,
GL_UNSIGNED_BYTE, GL_FALSE,...) does not work, that is the previous attrib
pointer remains, and the nouveau driver outputs in the dmesg:

[ 2052.630628] nouveau  [  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[ 2052.630644] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x000dd000] subc 7 class
0x4097 mthd 0x1744 data 0x00001417

But glGetError() returns nothing unusual.

If I change the parameter from GL_UNSIGNED_BYTE to any other type (GL_BYTE,
GL_UNSIGNED_SHORT, GL_SHORT...) then it works as expected.

If I change the "normalized" parameter to GL_TRUE, it also works fine, even
with type GL_UNSIGNED_BYTE.

The software renderer does not have this problem. That and the kernel messages
suggest that it is a nouveau issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130228/c0c7220b/attachment.html>


More information about the Nouveau mailing list