[Mesa-dev] [PATCH] st/mesa: expose ARB_draw_instanced only if EXT_gpu_shader4 is available too

Brian Paul brian.e.paul at gmail.com
Sat Apr 16 07:18:30 PDT 2011


On Sat, Apr 16, 2011 at 5:06 AM, Marek Olšák <maraeo at gmail.com> wrote:
> From GL_ARB_draw_instanced:
>
>    EXT_gpu_shader4 or NV_vertex_program4 or OpenGL 3.0 is required.
>
> which means we can't advertise it. :( Well at least apps won't be looking
> for gl_InstanceID.

I believe that the GL_ARB_draw_instanced spec is wrong about that.
There's really no reason why instancing depends on those extensions. I
think that Ian has reported this issue along with gl_InstanceID vs.
gl_InstanceIDARB to the ARB so the spec may be changed soon.

Typically, ARB extensions do not directly depend on EXT extensions.

-Brian


More information about the mesa-dev mailing list