[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 19:42:39 PDT 2011

On Sun, Apr 17, 2011 at 11:45 AM, Ian Romanick <idr at freedesktop.org> wrote:
> Hash: SHA1
> On 04/16/2011 04:06 AM, Marek Olšák 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.
> The GL_ARB_draw_instanced spec is broken.  I've already mentioned a
> couple times in e-mail and in bugs that it's in the process of getting
> fixed.  Everyone needs to just chill.

I expect the problem is fixing the spec post-release isn't going to
fix all the apps that abide by the older version of the spec.

If what Marek says is true, then apps expect GL3.0 or EXT_gpu_shader4
if they have ARB_draw_instanced.

Unless changing the spec includes moving the bits of EXT_gpu_shader4
into the ARB_draw_instanced spec, if so then
maybe it'll all be fine.


More information about the mesa-dev mailing list