[Mesa-dev] [PATCH] i965: Expose ARB_base_instance extension

Anuj Phogat anuj.phogat at gmail.com
Wed Jul 25 22:43:21 UTC 2018


On Wed, Jul 25, 2018 at 10:49 AM Sagar Ghuge <sagar.ghuge at intel.com> wrote:
>
> The extension requires at least OpenGL 3.0 and
> OpenGL ES 3.0.
>
> Fixes two ext_base_instance tests:
>
> arb_base_instance-baseinstance-doesnt-affect-gl-instance-id_gles3
> arb_base_instance-drawarrays_gles3
>
> Signed-off-by: Sagar Ghuge <sagar.ghuge at intel.com>
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index f837356478..9d119d0b4c 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -315,7 +315,7 @@ intelInitExtensions(struct gl_context *ctx)
>     if (devinfo->gen >= 6)
>        ctx->Extensions.INTEL_performance_query = true;
>
> -   if (ctx->API == API_OPENGL_CORE)
> +   if (ctx->API != API_OPENGL_COMPAT)
>        ctx->Extensions.ARB_base_instance = true;
>     if (ctx->API != API_OPENGL_CORE)
>        ctx->Extensions.ARB_color_buffer_float = true;
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

It's EXT_base_instance for gles.
With suggested changes to Subject:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list