llvmpipe: add missing checks for polygon offset point/line modes
authorBrian Paul <brianp@vmware.com>
Thu, 21 Feb 2013 15:22:10 +0000 (08:22 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Feb 2013 23:49:05 +0000 (16:49 -0700)
commitf93c5800637fd0967d53a4bc2b652d5f93d17d5d
treef37c431a60831712650e95213eb3cc509e0a3aef
parentd6b8b116eec3c24ef9f2d292315f70ea8cbaa040
llvmpipe: add missing checks for polygon offset point/line modes

The llvm pipeline handles regular filled triangle offsets, but it
doesn't handle offsets for triangles drawn in point or line mode.

Fixes failures found with new piglit polygon-mode-offset test.

Note: This is a candidate for the stable branches.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_rasterizer.c