[Beignet] [PATCH] Add cl_khr_3d_image_writes into info string.

Yang, Rong R rong.r.yang at intel.com
Sun Jun 12 08:04:29 UTC 2016


LGTM, pushed.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> yan.wang at linux.intel.com
> Sent: Friday, June 3, 2016 13:38
> To: beignet at lists.freedesktop.org
> Cc: Yan Wang <yan.wang at linux.intel.com>
> Subject: [Beignet] [PATCH] Add cl_khr_3d_image_writes into info string.
> 
> From: Yan Wang <yan.wang at linux.intel.com>
> 
> The extension is supported in fact and avoid misunderstanding.
> ---
>  src/cl_extensions.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/cl_extensions.c b/src/cl_extensions.c index 349f2f1..183aafc
> 100644
> --- a/src/cl_extensions.c
> +++ b/src/cl_extensions.c
> @@ -48,6 +48,8 @@ void check_opt1_extension(cl_extensions_t
> *extensions)  #endif
>      if (id == EXT_ID(khr_image2d_from_buffer))
>        extensions->extensions[id].base.ext_enabled = 1;
> +    if (id == EXT_ID(khr_3d_image_writes))
> +      extensions->extensions[id].base.ext_enabled = 1;
>    }
>  }
> 
> --
> 2.5.0
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list