Reviewed-by: Plamena Manolova <plamena.manol...@intel.com>

On Wed, 6 Jun 2018 at 13:53, Lionel Landwerlin <
lionel.g.landwer...@intel.com> wrote:

> Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106642
> ---
>  src/mesa/drivers/dri/common/dri_util.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/common/dri_util.c
> b/src/mesa/drivers/dri/common/dri_util.c
> index a591dfcd7d2..f634609c90f 100644
> --- a/src/mesa/drivers/dri/common/dri_util.c
> +++ b/src/mesa/drivers/dri/common/dri_util.c
> @@ -936,6 +936,14 @@ static const struct {
>        .image_format = __DRI_IMAGE_FORMAT_SARGB8,
>        .mesa_format  =        MESA_FORMAT_B8G8R8A8_SRGB,
>     },
> +   {
> +      .image_format = __DRI_IMAGE_FORMAT_R16,
> +      .mesa_format =         MESA_FORMAT_R_UNORM16,
> +   },
> +   {
> +      .image_format = __DRI_IMAGE_FORMAT_R16,
> +      .mesa_format =         MESA_FORMAT_L_UNORM16,
> +   },
>  };
>
>  uint32_t
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to