Summary: | glReadPixels doesn't smash alpha to 1.0 with RGB float formats | ||
---|---|---|---|
Product: | Mesa | Reporter: | Carl Worth <cworth> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Carl Worth
2013-01-15 22:14:11 UTC
I've now fixed all cases where the above-mentioned patches introduced new failures (on Sandybridge at least). The following commits in the mesa repository are all relevant for the bug fixes: commit b961ba44ed01d4aa590609fc91ab1250ac7d9559 Author: Carl Worth <cworth@cworth.org> Date: Mon Jan 21 12:18:02 2013 -0800 i965: Examine _BaseFormat when deciding to perform xRGB_alpha fixups commit 570ed2be7d776211e1ca2a7a4c44ee6a1d141714 Author: Carl Worth <cworth@cworth.org> Date: Mon Jan 21 12:16:27 2013 -0800 ReadPixels: Force ALPHA to 1 while rebasing RGBA values for GL_RGB format commit 33599433c75c0ab433615d08ed7e4002146ba462 Author: Carl Worth <cworth@cworth.org> Date: Tue Jan 22 13:25:37 2013 -0800 i965: Use swizzles to force alpha to 1.0 for RED, RG, or RGB textures. commit 8059c2ea9011110df3632e28a4311de9373b9b4e Author: Carl Worth <cworth@cworth.org> Date: Tue Jan 22 13:29:01 2013 -0800 i965: Use swizzles to force R, G, and B to 0.0 for ALPHA textures. |
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.