[Mesa-dev] [PATCH v2 4/6] mesa: enable enums for OES_geometry_shader

Kenneth Graunke kenneth at whitecape.org
Fri Nov 27 19:17:12 PST 2015


On Friday, November 27, 2015 01:08:08 PM Ilia Mirkin wrote:
> On Fri, Nov 27, 2015 at 9:31 AM, Marta Lofstedt <marta.lofstedt at linux.intel.com> wrote:
[snip]
> > @@ -1174,6 +1199,21 @@ check_extra(struct gl_context *ctx, const char *func, const struct value_desc *d
> >           api_found = ctx->Extensions.ARB_shader_image_load_store &&
> >                       _mesa_has_tessellation(ctx);
> >           break;
> > +      case EXTRA_EXT_GPU5_GS:
> > +         api_check = GL_TRUE;
> > +         api_found = (ctx->Extensions.ARB_framebuffer_no_attachments &&
> > +                      _mesa_has_geometry_shaders(ctx));
> 
> What does this have to do with ARB_gpu_shader5?

FWIW, OES_geometry_shader includes instanced geometry shaders, which on
desktop GL were introduced with ARB_gpu_shader5.  I haven't read this
to know whether that explains this code, but the two are related :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151127/5b70cfd8/attachment.sig>


More information about the mesa-dev mailing list