summaryrefslogtreecommitdiff
path: root/tests/general/triangle-guardband-viewport.c
AgeCommit message (Collapse)AuthorFilesLines
2014-07-15util/gl: Rename piglit-util-gl-common.hChad Versace1-1/+1
There are no longer any source files in tests/util that are specific to a particular OpenGL API. In other words, all OpenGL utility sources in tests/util are now "common" and shared by all OpenGL APIs. So remove the 'common' in filename 'piglit-util-gl-common.h'. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-11-15Add a test for viewport triangle clipping.Stuart Abercrombie1-0/+78
Triangles should be clipped to the clip volume and therefore shouldn't end up being rasterized outside the viewport. This was failing on Sandy Bridge with guard band clipping enabled. v2: new test name, more comments and addition to all.tests. v3: Eric's comments incorporated, and the explicit window size removed. v4: minor style tweaks by Eric, and Brian's probe-related review. Reviewed-by: Eric Anholt <eric@anholt.net>