[Mesa-users] Using GL_UNSIGNED_INT_2_10_10_10_REV with glNormalPointer

Luke Benstead kazade at gmail.com
Fri Nov 15 17:39:18 UTC 2019


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.


More information about the mesa-users mailing list