[Mesa-dev] [PATCH v4] mesa: enable enums for OES_geometry_shader
Ilia Mirkin
imirkin at alum.mit.edu
Thu Jan 21 04:24:47 PST 2016
On Thu, Dec 10, 2015 at 11:11 AM, Marta Lofstedt
<marta.lofstedt at linux.intel.com> 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?
More information about the mesa-dev
mailing list