Bug 99185 - dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
Summary: dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 98315
  Show dependency treegraph
 
Reported: 2016-12-22 20:10 UTC by Chad Versace
Modified: 2016-12-28 19:16 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Chad Versace 2016-12-22 20:10:37 UTC
The test fails for me with the setup below:

test: dEQP-EGL.functional.image.modify.tex_rgb5_a1_tex_subimage_rgba8
mesa: master@7a4ea95
deqp: nougat-cts-dev@4acf725 and master@7363696
deqp-target: x11_egl
hw: Broadwell 0x1616
Comment 1 Chad Versace 2016-12-22 23:21:53 UTC
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 we need to teach       
glTexImage2D to choose that instead.
Comment 3 Chad Versace 2016-12-28 19:16:04 UTC
Patches pushed.


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.