[Mesa-users] Using GL_UNSIGNED_INT_2_10_10_10_REV with glNormalPointer

Brian Paul brianp at vmware.com
Mon Nov 18 13:23:23 UTC 2019


On 11/15/2019 10:39 AM, Luke Benstead wrote:
> Hi!
> 
> I'm trying to use this combination, the ARB_vertex_type_2_10_10_10_rev
> extension says it should work:
> 
> 
> New Tokens
> 
>      Accepted by the <type> parameter of VertexAttribPointer, VertexPointer,
>      NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer,
>      VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui,
>      ColorP*, SecondaryColorP* and VertexAttribP*
> 
>          UNSIGNED_INT_2_10_10_10_REV                     0x8368
> (existing core enum)
>          INT_2_10_10_10_REV                              0x8D9F
> 
> But when I try I get a GL_INVALID_OPERATION:
> 
> Mesa: User error: GL_INVALID_OPERATION in glNormalPointer(size=3)
> 
> Am I doing something wrong? This is using OpenGL < 3.

Sounds like a bit.  Can you file a bug report?

-Brian




More information about the mesa-users mailing list