draw: copy over prim id header in flatshade stage when emitting lines
authorRoland Scheidegger <sroland@vmware.com>
Wed, 10 Dec 2014 19:01:27 +0000 (20:01 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 10 Dec 2014 21:11:16 +0000 (22:11 +0100)
commitfb61f75bf633e60c0f81fe8ae59d03bfa68d755b
treeff8f1e5aa4ce2f86e315e9078b802ac422b9c167
parentfe7e6b248f4f97e10adb26db2836ff5accbff94a
draw: copy over prim id header in flatshade stage when emitting lines

Just like we do for tris (det shouldn't matter at this point, however
can have flags for things like line stipple reset).

No piglit change, it would fail line stippling tests if the flatshade
stage were run, which will happen with the next commit.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_flatshade.c