Skip to content

tests: add test that validates smooth-line coverage

Erik Faye-Lund requested to merge kusma/piglit:line-smooth-coverage-test into main

This tests drawing a horizontal smooth line divided into varying length segments, using additive blending to validate that the sum of the coverage adds up to one, as one would expect.

While this isn't an explicit requirement in the OpenGL spec, the identity should be a requirement due to the way smooth lines is specified. It's also something that most reasonable approximations should be able to produce.

Merge request reports