Bug 98328

Summary: [dEQP, EGL] luminance tests fail
Product: Mesa Reporter: Mark Janes <mark.a.janes>
Component: Drivers/DRI/i965Assignee: Tapani Pälli <lemody>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: randy.xu
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 98315    
Attachments: fix

Description Mark Janes 2016-10-19 17:57:11 UTC
Several luminance tests fail with this signature:

dEQP-EGL.functional.image.api.create_image_gles2_tex2d_luminance

Got EGL_BAD_PARAMETER: eglCreateImageKHR() at teglImageUtil.cpp:173
Comment 1 Tapani Pälli 2016-10-20 06:48:46 UTC
*** Bug 98342 has been marked as a duplicate of this bug. ***
Comment 2 Tapani Pälli 2016-10-20 08:05:53 UTC
patch on its way to CI testing ..
Comment 3 Tapani Pälli 2016-10-20 08:06:23 UTC
Created attachment 127416 [details] [review]
fix
Comment 4 Tapani Pälli 2016-10-25 04:59:17 UTC
commit 58b4fef8bb7b959ac0918d08a76c92c4c86cb262
Author: Tapani Pälli <tapani.palli@intel.com>
Date:   Thu Oct 20 11:03:26 2016 +0300

    mesa: add missing formats to driGLFormatToImageFormat
    
    Fixes following dEQP tests:
    
       dEQP-EGL.functional.image.api.create_image_gles2_tex2d_luminance
       dEQP-EGL.functional.image.api.create_image_gles2_tex2d_luminance_alpha
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98328

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.