Bug 99228

Summary: [G33] ES2-CTS.functional.texture.mipmap.2d.generate.rgba5551 tests fail
Product: Mesa Reporter: Mark Janes <mark.a.janes>
Component: Drivers/DRI/i965Assignee: Chad Versace <chadversary>
Status: RESOLVED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mark Janes 2016-12-30 08:06:22 UTC
Four related tests regressed on g33 at:

f3739810e337d0f03514b9b967594c8dc010dfa4
mesa/texformat: Handle GL_RGBA + GL_UNSIGNED_SHORT_5_5_5_1

_mesa_choose_tex_format() already handles GL_RGBA + GL_UNSIGNED_SHORT_1_5_5_5_REV
by converting it to MESA_FORMAT_B5G5R5A1_UNORM. Teach it do the same for
the non-reversed type. Otherwise, the switch's fallthrough converts it
to an 8888 format, which has incompatible precision in the alpha
channel.

Patch 2/2 to fix dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
on Intel.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99185

----------------------------------------------------------------
Standard Output

WARNING: Level 1 comparison to bilinear method failed, found 32 invalid pixels.
WARNING: Level 1 comparison to box method failed, found 32 invalid pixels.
ERROR: Level 1 appears to contain 32 completely wrong pixels, failing case!
Comment 1 Mark Janes 2016-12-30 08:22:44 UTC

*** This bug has been marked as a duplicate of bug 99210 ***

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.