> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Ilia
> Mirkin
> Sent: Thursday, January 21, 2016 1:25 PM
> To: Marta Lofstedt
> Cc: [email protected]; Lofstedt, Marta
> Subject: Re: [PATCH v4] mesa: enable enums for OES_geometry_shader
> 
> On Thu, Dec 10, 2015 at 11:11 AM, Marta Lofstedt
> <[email protected]> wrote:
> > +      case EXTRA_EXT_GPU5_GS:
> > +         api_check = GL_TRUE;
> > +         api_found = (ctx->Extensions.ARB_gpu_shader5 ||
> > +                      _mesa_has_OES_geometry_shader(ctx));
> > +         break;
> > +      case EXTRA_EXT_VIEWPORT_GS:
> > +         api_check = GL_TRUE;
> > +         api_found = (ctx->Extensions.ARB_viewport_array ||
> > +                      _mesa_has_OES_geometry_shader(ctx));
> > +         break;
> 
> You can do these without the special tokens. Or did you mean && here?

I am pretty sure that our previous discussions on this topic ended up with || 
to be preferable in these cases, but if you want && I will change.

/Marta 
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to