Bug 47259 - piglit fbo-blending-formats regression
Summary: piglit fbo-blending-formats 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:31 UTC by Vinson Lee
Modified: 2012-03-13 07:56 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-03-12 22:31:27 UTC
mesa: cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b (master)

piglit fbo-blending-formats fails on softpipe and llvmpipe.

$ ./bin/fbo-blending-formats -auto
Using test set: Core formats
Testing 3
Testing 4
Testing GL_RGB
Testing GL_RGBA
Testing GL_ALPHA
Testing GL_LUMINANCE
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 1.000000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 1.000000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 1.000000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE_ALPHA
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.298039 0.000000 0.000000 0.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.500000
  Observed: 0.478431 0.000000 0.000000 0.498039
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.700000
  Observed: 0.811765 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.850000 0.850000 0.850000 0.700000
  Observed: 0.850980 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_INTENSITY
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.300000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.480000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.800000 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_ALPHA4
Testing GL_ALPHA8
Testing GL_ALPHA12
Testing GL_ALPHA16
Testing GL_LUMINANCE4
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 1.000000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 1.000000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 1.000000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE8
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 1.000000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 1.000000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 1.000000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE12
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 1.000000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 1.000000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 1.000000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE16
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 1.000000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 1.000000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 1.000000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 1.000000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE4_ALPHA4
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.266667 0.000000 0.000000 0.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.500000
  Observed: 0.466667 0.000000 0.000000 0.466667
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.700000
  Observed: 0.800000 0.000000 0.000000 0.733333
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.800000 0.000000 0.000000 0.733333
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.850000 0.850000 0.850000 0.700000
  Observed: 0.866667 0.000000 0.000000 0.733333
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.800000 0.000000 0.000000 0.733333
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE8_ALPHA8
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.298039 0.000000 0.000000 0.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.500000
  Observed: 0.478431 0.000000 0.000000 0.498039
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.700000
  Observed: 0.811765 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.850000 0.850000 0.850000 0.700000
  Observed: 0.850980 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE12_ALPHA12
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.298039 0.000000 0.000000 0.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.500000
  Observed: 0.478431 0.000000 0.000000 0.498039
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.700000
  Observed: 0.811765 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.850000 0.850000 0.850000 0.700000
  Observed: 0.850980 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_LUMINANCE16_ALPHA16
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.000000
  Observed: 0.298039 0.000000 0.000000 0.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.500000
  Observed: 0.478431 0.000000 0.000000 0.498039
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.700000
  Observed: 0.811765 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.850000 0.850000 0.850000 0.700000
  Observed: 0.850980 0.000000 0.000000 0.701961
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.740000
  Observed: 0.760784 0.000000 0.000000 0.741176
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_INTENSITY4
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.300000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.480000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.800000 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_INTENSITY8
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.300000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.480000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.800000 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_INTENSITY12
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.300000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.480000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.800000 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_INTENSITY16
Probe at (10,0)
  Expected: 0.300000 0.300000 0.300000 0.300000
  Observed: 0.298039 0.000000 0.000000 1.000000
  when testing FBO result, simple.
Probe at (32,0)
  Expected: 0.480000 0.480000 0.480000 0.480000
  Observed: 0.478431 0.000000 0.000000 1.000000
  when testing FBO result, blending with CONSTANT_COLOR.
Probe at (53,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.811765 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_COLOR.
Probe at (74,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_COLOR.
Probe at (96,0)
  Expected: 0.810000 0.810000 0.810000 0.810000
  Observed: 0.800000 0.000000 0.000000 1.000000
  when testing FBO result, blending with DST_ALPHA.
Probe at (117,0)
  Expected: 0.760000 0.760000 0.760000 0.760000
  Observed: 0.760784 0.000000 0.000000 1.000000
  when testing FBO result, blending with SRC_ALPHA.
Testing GL_R3_G3_B2
Testing GL_RGB4
Testing GL_RGB5
Testing GL_RGB8
Testing GL_RGB10
Testing GL_RGB12
Testing GL_RGB16
Testing GL_RGBA2
Testing GL_RGBA4
Testing GL_RGB5_A1
Testing GL_RGBA8
Testing GL_RGB10_A2
Testing GL_RGBA12
Testing GL_RGBA16
PIGLIT: {'result': 'fail' }
Comment 1 Vinson Lee 2012-03-12 22:42:25 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:56:09 UTC
This was the same as bug 47217 and fixed with piglit commit d17bcdffe3b7e90ca2a7ecd853be22cde9ca111e


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.