[Mesa-dev] [PATCH] mesa: Use _mesa_has_OES_geometry_shader() when validating draws

Tomasz Figa tfiga at chromium.org
Fri Feb 24 00:38:36 UTC 2017


On Fri, Feb 24, 2017 at 5:00 AM, Kenneth Graunke <kenneth at whitecape.org>
wrote:

> On Thursday, February 23, 2017 10:46:54 AM PST Ilia Mirkin wrote:
> > The assumption was that if you're setting that ext, you can do gles31. Is
> > there a driver/hw combo where that's not the case? If so, we should fix
> > that instead...
>
> ChromeOS/ARC++ currently disables GLES 3.1 on i965 because we haven't
> passed all the dEQP tests for it.  So, we support the functionality,
> but they're using GLES 3.0 contexts.  I'm guessing that's why they hit
> this and I haven't.
>
> They could probably disable the bit too, but checking whether the
> feature is actually exposed seems pretty reasonable.
>

Correct me if I'm wrong, but I think one can also create a context with
exact version by using EGL_KHR_create_context.

In any case, there are more checks for this extension in this file and they
either call this helper or explicitly check context version.

Best regards,
Tomasz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170224/44fa998c/attachment.html>


More information about the mesa-dev mailing list