Bug 47261 - piglit fbo-luminance-alpha regression
Summary: piglit fbo-luminance-alpha regression
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-12 22:56 UTC by Vinson Lee
Modified: 2012-03-13 07:55 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-03-12 22:56:00 UTC
mesa: cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b (master)

piglit fbo-luminance-alpha fails on softpipe and llvmpipe.

$ ./bin/fbo-luminance-alpha -auto
Testing FBO result, simple 1.
Probe at (8,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.298039 0.000000 0.000000 0.000000
Testing FBO result, simple 2.
Probe at (24,0)
  Expected: 0.600000 0.600000 0.600000 1.000000
  Observed: 0.600000 0.000000 0.000000 1.000000
Testing FBO result, blending DST_ALPHA.
Probe at (40,0)
  Expected: 0.400000 0.400000 0.400000 0.500000
  Observed: 0.400000 0.000000 0.000000 0.501961
Testing FBO result, blending SRC_ALPHA.
Probe at (56,0)
  Expected: 0.560000 0.560000 0.560000 0.400000
  Observed: 0.556863 0.000000 0.000000 0.400000
Testing window result, simple 1.
Testing window result, simple 2.
Testing window result, blending DST_ALPHA.
Testing window result, blending SRC_ALPHA.
PIGLIT: {'result': 'fail' }
Comment 1 Vinson Lee 2012-03-12 23:14:00 UTC
ad897fff7730298c21289768d9b1b55f3d166ac5 is the first bad commit
commit ad897fff7730298c21289768d9b1b55f3d166ac5
Author: Brian Paul <brianp@vmware.com>
Date:   Wed Feb 29 20:55:50 2012 -0700

    mesa: use _mesa_rebase_rgba_float/uint() in glReadPixels code
    
    See the comments for _mesa_rebase_rgba_float() for details.
    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679
    
    NOTE: This is a candidate for the 8.0 branch.
    
    Reviewed-by: José Fonseca <jfonseca@vmware.com>
Comment 2 Brian Paul 2012-03-13 07:55:19 UTC
Fixed with piglit commit e0e42e201211aee728d601abfeb579c031c95840


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.