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

Dave Airlie airlied at gmail.com
Sat Apr 16 13:01:50 PDT 2011


On Sun, Apr 17, 2011 at 12:18 AM, Brian Paul <brian.e.paul at gmail.com> wrote:
> 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.
>

But they can depend on GL major versions, so in this case I assume
that piece about GL3.0
applies.

Dave.


More information about the mesa-dev mailing list