From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 61635] glVertexAttribPointer(id, GL_UNSIGNED_BYTE,
GL_FALSE, ...) does not work
Date: Sat, 02 Mar 2013 20:15:51 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1013089638=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1013089638==
Content-Type: multipart/alternative; boundary="1362255351.2F1B2.26262"; charset="us-ascii"
--1362255351.2F1B2.26262
Date: Sat, 2 Mar 2013 20:15:51 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=61635
--- Comment #3 from Emil Velikov ---
(In reply to comment #2)
> 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 colour of the vertex, so I
> expect it to render a solid colour. The actual output is that most vertices
> are rendered black (input 0) with just a few of them of random colours,
> changing with each frame.
>
I was afraid of that. It looks like the original define was a bit off, although
obviously this is not the correct one either.
Someone with an actual nv4x card and better understanding of OpenGL than me
should take a look and reverse-engineer the (remaining) format(s)
> Weird...
>
> If you think it could be useful I can try to extract the code into a small
> compilable test case...
That's always a good idea :)
--
You are receiving this mail because:
You are the assignee for the bug.
--1362255351.2F1B2.26262
Date: Sat, 2 Mar 2013 20:15:51 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 61635
from Emil Velikov
(In reply to comment #2)
> 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 colour of the vertex, so I
> expect it to render a solid colour. The actual output is that most vertices
> are rendered black (input 0) with just a few of them of random colours,
> changing with each frame.
>
I was afraid of that. It looks like the original define was a bit off, although
obviously this is not the correct one either.
Someone with an actual nv4x card and better understanding of OpenGL than me
should take a look and reverse-engineer the (remaining) format(s)
> Weird...
>
> If you think it could be useful I can try to extract the code into a small
> compilable test case...
That's always a good idea :)
You are receiving this mail because:
- You are the assignee for the bug.
--1362255351.2F1B2.26262--
--===============1013089638==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============1013089638==--