The patch actually fixes every app which dares to use ARB_draw_instanced. The only apps the very presence of the extension doesn't break are piglit tests. It's clear from bug reports that not only is the current implementation of the extension absolutely useless in reality, it also prevents users from using certain apps (isn't it great?). The standard is worthless if it doesn't let you be compatible with the rest of the world and, it this case, it sort of does by this line:<br>
<br>EXT_gpu_shader4 or NV_vertex_program4 or OpenGL 3.0 is required.<br><br>Well there certainly is a reason it depends on EXT_gpu_shader4: gl_InstanceID. And it nicely matches the reality.<br><br>I don't insist on committing the patch, I can disable the extension from a driver. However I thought other drivers would need the same fix.<br>
<br>Marek<br><br><div class="gmail_quote">On Sat, Apr 16, 2011 at 4:18 PM, Brian Paul <span dir="ltr"><<a href="mailto:brian.e.paul@gmail.com">brian.e.paul@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sat, Apr 16, 2011 at 5:06 AM, Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>> wrote:<br>
> From GL_ARB_draw_instanced:<br>
><br>
> EXT_gpu_shader4 or NV_vertex_program4 or OpenGL 3.0 is required.<br>
><br>
> which means we can't advertise it. :( Well at least apps won't be looking<br>
> for gl_InstanceID.<br>
<br>
</div>I believe that the GL_ARB_draw_instanced spec is wrong about that.<br>
There's really no reason why instancing depends on those extensions. I<br>
think that Ian has reported this issue along with gl_InstanceID vs.<br>
gl_InstanceIDARB to the ARB so the spec may be changed soon.<br>
<br>
Typically, ARB extensions do not directly depend on EXT extensions.<br>
<font color="#888888"><br>
-Brian<br>
</font></blockquote></div><br>