Bug 52950 - [r200] piglit glean/blendFunc test fails
Summary: [r200] piglit glean/blendFunc test fails
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: 8.0
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-30 09:41 UTC by Barto
Modified: 2012-07-30 13:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Barto 2012-07-30 09:41:25 UTC
System configuration :

- radeon 9000 AGP ( M9, rv250 )
- laptop pentium 4 2.4 Ghz 1.25 Gb ram
- archlinux 32 bits

Step to reproduce the bug

- mesa 8.0.4 release ( but the bug occurs also with the git version )
- a graphic card who uses the r200 driver 
- install piglit ( git version )
- run the glean test "blendFunc" in piglit :

./piglit-run.py  -t "glean/blendFunc" tests/quick.tests results/quick

the glean/blendFunc will fail with these error messages :

First failing pixel is at row 11 column 24
Actual values are (0, 0, 0, 0.54902)
Expected values are (0, 0, 0, 0.557007)
Errors are (0, 0, 0, 0.00798696)
Source values are (0.462745, 0.756863, 0.662745, 0.546639)
Destination values are (0.819608, 0.0980392, 0.615686, 0.0509804)
blendFunc:  FAIL rgba8, db, z24, s8, win+pmap, id 33
	source factor RGB = GL_ZERO, source factor A = GL_ONE_MINUS_DST_COLOR
	dest factor RGB = GL_ZERO, dest factor A = GL_CONSTANT_COLOR
	equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
	const color = { 0.25, 0, 1, 0.75 }
	Readback had 0 bits in error; blending had 1.03186 bits in error.

First failing pixel is at row 7 column 27
Actual values are (0.682353, 0.682353, 0.92549, 0.756863)
Expected values are (0.682353, 0.682353, 0.92549, 0.765417)
Errors are (0, 0, 0, 0.0085544)
Source values are (0.682353, 0.968627, 0.243137, 0.761929)
Destination values are (0.682353, 0.682353, 0.92549, 0.0156863)
blendFunc:  FAIL rgba8, db, z24, s8, win+pmap, id 33
	source factor RGB = GL_ZERO, source factor A = GL_ONE_MINUS_DST_COLOR
	dest factor RGB = GL_ONE, dest factor A = GL_ONE_MINUS_DST_ALPHA
	equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
	const color = { 0.25, 0, 1, 0.75 }
	Readback had 0 bits in error; blending had 1.13088 bits in error.

First failing pixel is at row 1 column 16
Actual values are (0.0705882, 0.298039, 0.243137, 0.74902)
Expected values are (0.0693272, 0.296286, 0.245752, 0.756865)
Errors are (0.00126106, 0.00175321, 0.00261439, 0.00784552)
Source values are (0.909804, 0.694118, 0.0784314, 0.804654)
Destination values are (0.768627, 0.968627, 0.266667, 0.0784314)
blendFunc:  FAIL rgba8, db, z24, s8, win+pmap, id 33
	source factor RGB = GL_ZERO, source factor A = GL_ONE_MINUS_DST_COLOR
	dest factor RGB = GL_ONE_MINUS_SRC_COLOR, dest factor A = GL_ONE_MINUS_SRC_ALPHA
	equation RGB = GL_FUNC_ADD, equation A = GL_FUNC_ADD
	const color = { 0.25, 0, 1, 0.75 }
	Readback had 0 bits in error; blending had 1.00608 bits in error.
Comment 1 Roland Scheidegger 2012-07-30 13:56:04 UTC
IIRC radeon alpha blend units before r300 (maybe even later) had some precision issues, they just don't quite fulfill the requirements. So getting these errors is expected (it is just one bit of error after all), and it is unfixable.


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.