summaryrefslogtreecommitdiff
path: root/test/linear-step-function.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Add linear-step-functionChris Wilson2010-02-021-0/+60
Another bug identified by Jeff Muizelaar was that the bounds for a zero-length (i.e. it started and stopped at the same point) were miscomputed. This test case exercises that bug. Note: I believe the output is wrong here when padding a zero-length gradient. On the left it should be red, and on the right it should be blue.