[Mesa-dev] [PATCH 0/3] i965: Fix dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
Tapani Pälli
tapani.palli at intel.com
Fri Dec 23 05:47:53 UTC 2016
Series is
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
On 12/23/2016 01:22 AM, Chad Versace wrote:
> The test failed because in
> glTexImage2D(format=GL_RGBA, type=GL_UNSIGNED_SHORT_5_5_5_1)
> Mesa chose BRW_SURFACE_FORMAT_R8G8B8A8_UNORM as the storage format.
> The two formats have incompatible precision in the alpha channel. One
> provides binary alpha; the other provides gradient alpha.
>
> Intel hardware supports BRW_SURFACE_FORMAT_B5G5R5A1_UNORM, so teach
> glTexImage2D to choose that instead.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99185
>
> Chad Versace (3):
> dri: Add __DRI_IMAGE_FORMAT_ARGB1555
> mesa/texformat: Handle GL_RGBA + GL_UNSIGNED_SHORT_5_5_5_1
> i965: Allow import/export of ARGB1555 images
>
> include/GL/internal/dri_interface.h | 2 ++
> src/mesa/drivers/dri/common/dri_util.c | 4 ++++
> src/mesa/drivers/dri/i965/intel_screen.c | 6 ++++++
> src/mesa/main/texformat.c | 2 ++
> 4 files changed, 14 insertions(+)
>
More information about the mesa-dev
mailing list