MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #30575 All Revisions ] Back to Issue ]
Summary 0030575: Tests - v3d/materials unstable image screenshots of alpha-blending on GeForce with MSAA
Revision 2019-03-15 00:34 by kgv
Description Test cases v3d/materials/bug24872_1,bug24872_2,bug24855 generates unstable image screenshots on GeForce hardware (Intel HD Graphics and AMD Radeon are not affected) within MSAA8 turned on at alpha-blended semitransparent surface.

It seems that hardware uses some optimization causing slight deviation of results from one execution to another - usually within 2/255 tolerance.

It is proposed extending testdiff to optionally use image color tolerance specified by the test, e.g. line:
> puts "IMAGE_COLOR_TOLERANCE: 0.008"
will ask testdiff to launch diffimage with "-toleranceOfColor 0.008" parameter.

Alternatively, specific test cases might take screenshots with MSAA turned off.
Revision 2019-03-15 00:27 by kgv
Description Test cases v3d/materials/bug24872_1,bug24872_2,bug24855 generates unstable image screenshots on GeForce hardware (Intel HD Graphics and AMD Radeon are not affected) within MSAA8 turned on at alpha-blended semitransparent surface.

It seems that hardware uses some optimization causing slight deviation of results from one execution to another - usually within 2/255 tolerance.

It is proposed extending testdiff to optionally use image color tolerance specified by the test, e.g. line:
> puts "IMAGE_COLOR_TOLERANCE: 0.008"
will ask testdiff to launch diffimage with "-toleranceOfColor 0.008" parameter.
Revision 2019-03-15 00:11 by kgv
Description Test cases v3d/materials/bug24872_1,bug24872_2,bug24855 generates unstable image screenshots on GeForce hardware (Intel HD Graphics and AMD Radeon are not affected) within MSAA8 turned on at alpha-blended semitransparent surface.

It seems that hardware uses some optimization causing slight deviation of results from one execution to another - usually within 2/255 tolerance.

It is proposed extending testdiff to optionally use image color tolerance specified by the test, e.g. line:
> puts "IMAGE_DIFF_TOLERANCE: 0.008"
will ask testdiff to launch diffimage with "-toleranceOfColor 0.008" parameter.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker