From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 61635] glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work Date: Mon, 04 Mar 2013 19:54:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0771043772==" 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 --===============0771043772== Content-Type: multipart/alternative; boundary="1362426899.a5121.3169"; charset="us-ascii" --1362426899.a5121.3169 Date: Mon, 4 Mar 2013 19:54:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=61635 --- Comment #4 from rodrigo --- Created attachment 75914 --> https://bugs.freedesktop.org/attachment.cgi?id=75914&action=edit Test case to show the problem with unnormalized attribute pointers of type GL_UNSIGNED_BYTE Compile with: $ gcc -o glbyte -Wall glbyte.c -lglut -lGLEW -lGL Running with software rendering: $ LIBGL_ALWAYS_SOFTWARE=1 ./glbyte draws a beautiful star. But with hardware rendering: $ ./glbyte it draws nothing :( -- You are receiving this mail because: You are the assignee for the bug. --1362426899.a5121.3169 Date: Mon, 4 Mar 2013 19:54:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 61635 from
Created attachment 75914 [details]
Test case to show the problem with unnormalized attribute pointers of type
GL_UNSIGNED_BYTE

Compile with:

$ gcc -o glbyte -Wall glbyte.c -lglut -lGLEW -lGL

Running with software rendering:

$ LIBGL_ALWAYS_SOFTWARE=1 ./glbyte

draws a beautiful star.

But with hardware rendering:

$ ./glbyte

it draws nothing :(


You are receiving this mail because:
  • You are the assignee for the bug.
--1362426899.a5121.3169-- --===============0771043772== 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 --===============0771043772==--