[Mesa-dev] [PATCH] i965/hsw: Enable ARB_ES3_1_compatibility extension

Samuel Iglesias Gonsálvez siglesias at igalia.com
Mon Aug 29 05:12:33 UTC 2016


Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>

On 27/08/16 23:18, Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Acked-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  docs/features.txt                            | 2 +-
>  src/mesa/drivers/dri/i965/intel_extensions.c | 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/docs/features.txt b/docs/features.txt
> index 26e8ff7..218fa6c 100644
> --- a/docs/features.txt
> +++ b/docs/features.txt
> @@ -208,7 +208,7 @@ GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+
>  
>  GL 4.5, GLSL 4.50:
>  
> -  GL_ARB_ES3_1_compatibility                            DONE (i965/gen8+, nvc0, radeonsi)
> +  GL_ARB_ES3_1_compatibility                            DONE (i965/hsw+, nvc0, radeonsi)
>    GL_ARB_clip_control                                   DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr)
>    GL_ARB_conditional_render_inverted                    DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr)
>    GL_ARB_cull_distance                                  DONE (i965, nv50, nvc0, llvmpipe, softpipe, swr)
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 48822b7..00b68eb 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -365,7 +365,8 @@ intelInitExtensions(struct gl_context *ctx)
>           if ((brw->gen >= 8 || brw->intelScreen->cmd_parser_version >= 5) &&
>               ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) {
>              ctx->Extensions.ARB_compute_shader = true;
> -            ctx->Extensions.ARB_ES3_1_compatibility = brw->gen >= 8;
> +            ctx->Extensions.ARB_ES3_1_compatibility =
> +               brw->gen >= 8 || brw->is_haswell;
>           }
>  
>           if (brw->intelScreen->cmd_parser_version >= 2)
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160829/0136e108/attachment.sig>


More information about the mesa-dev mailing list