From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 61635] New: glVertexAttribPointer(id,
GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work
Date: Thu, 28 Feb 2013 21:02:30 +0000
Message-ID:
Priority
medium
Bug ID
61635
Assignee
nouveau@lists.freedesktop.org
Summary
glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE,...) does not work
Severity
normal
Classification
Unclassified
OS
All
Reporter
rodrigorivascosta@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.