Re: [Mesa-dev] [PATCH] i965: Support __DRI_IMAGE_FORMAT_XBGR2101010

2018-04-30 Thread Miguel Casas-Sanchez
I meant this commit : https://cgit.freedesktop.org/mesa/mesa/commit/include/GL/internal/dri_interface.h?id=ebdc4c31e23ffd5ce0d1fc47dd8f76c146961e25 On 27 April 2018 at 16:54, Miguel Casas-Sanchez wrote: > Correct, my mesa tree did not include those changes in > include/GL/internal/dri_interface.

Re: [Mesa-dev] [PATCH] i965: Support __DRI_IMAGE_FORMAT_XBGR2101010

2018-04-30 Thread Miguel Casas-Sanchez
Correct, my mesa tree did not include those changes in include/GL/internal/dri_interface.h that landed in [1]. I'll rebase and come back here. Thanks! [1] https://cgit.freedesktop.org/mesa/mesa/commit/include/GL/internal/dri_interface.h?id=f3878aa622c30f8b4e110464157fcdebc910603c On 27 April 2018

Re: [Mesa-dev] [PATCH] i965: Support __DRI_IMAGE_FORMAT_XBGR2101010

2018-04-27 Thread Ilia Mirkin
Looks like your patch is against a fairly old tree. In the current one, the following dri image formats exist: #define __DRI_IMAGE_FORMAT_XBGR2101010 0x1010 #define __DRI_IMAGE_FORMAT_ABGR2101010 0x1011 #define __DRI_IMAGE_FORMAT_SABGR8 0x1012 I piped the XB30/AB30 stuff through to st/mes

[Mesa-dev] [PATCH] i965: Support __DRI_IMAGE_FORMAT_XBGR2101010

2018-04-27 Thread Miguel Casas
This patch adds support for XBGR2101010 (a.k.a. XB30) to i965. ToT supports XR30/AR30; XB30 is needed to support GL_RGB10_* texture internal formats with the correct channel order. BUG=https://crbug.com/776093 TEST=Compile and deploy mesa+this patch, then playback a VP9 Profile 2 video with sw dec