tests: add test that validates smooth-line coverage
Loading
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.