Summary: | [Bisected]Piglit glx_glx-multithread-makecurrent-1 fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i915 | Assignee: | Ian Romanick <idr> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | xunx.fang |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
lu hua
2013-01-23 02:02:56 UTC
The tests are actually broken. They draw 0.0 to the alpha buffer, but expect to read 1.0 back. When the test gets an RGB visual, this happens to work. Patches will be sent to the piglit list soon. Fixed by piglit commit: commit 7a1892c8b0bcb83a8bd792ecd48046dc6e905441 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Mon Jan 28 15:33:26 2013 -0800 glx-multithread-makecurrent-*: Write the expected value for alpha The tests would previously write 0.0 to the alpha and expect to read 1.0 back. If the test got a visual without alpha (and it doesn't request alpha), this would happen to work. However, drivers are not required to expose visuals without alpha, so the test might get an RGBA visual afterall. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59738 Reviewed-by: Brian Paul <brianp@vmware.com> Verified it on mesa master and 9.1 branch with latest piglit. |
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.