Re: [Mesa-dev] [PATCH] i965: Fix glColorPointer(GL_FIXED)

2013-06-03 Thread Kenneth Graunke
On 05/31/2013 03:49 PM, Chad Versace wrote: When a gl_client_array is created with glColorPointer, gl_client_array::Normalized is true. This caused the translation from the gl_client_array's type to a BRW_SURFACEFORMAT to assertion fail. Yes, it does set Normalized, and yes, that would cause

Re: [Mesa-dev] [PATCH] i965: Fix glColorPointer(GL_FIXED)

2013-06-03 Thread Eric Anholt
Chad Versace chad.vers...@linux.intel.com writes: When a gl_client_array is created with glColorPointer, gl_client_array::Normalized is true. This caused the translation from the gl_client_array's type to a BRW_SURFACEFORMAT to assertion fail. Fixes the spinning cube's color in Android 4.2's

Re: [Mesa-dev] [PATCH] i965: Fix glColorPointer(GL_FIXED)

2013-06-03 Thread Chad Versace
On 06/03/2013 01:02 PM, Eric Anholt wrote: Chad Versace chad.vers...@linux.intel.com writes: When a gl_client_array is created with glColorPointer, gl_client_array::Normalized is true. This caused the translation from the gl_client_array's type to a BRW_SURFACEFORMAT to assertion fail. Fixes

[Mesa-dev] [PATCH] i965: Fix glColorPointer(GL_FIXED)

2013-05-31 Thread Chad Versace
When a gl_client_array is created with glColorPointer, gl_client_array::Normalized is true. This caused the translation from the gl_client_array's type to a BRW_SURFACEFORMAT to assertion fail. Fixes the spinning cube's color in Android 4.2's ApiDemos.apk, Graphics OpenGL ES. Fixes assertion