freedreno: fix stream-out offset handling for lines/tris
authorRob Clark <robclark@freedesktop.org>
Tue, 12 Apr 2016 16:11:07 +0000 (12:11 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 13 Apr 2016 18:16:02 +0000 (14:16 -0400)
commit7e93b26b5d9f926346fb3651c0094fc1caade4d8
tree257ea17617915df573a2361cb72bba7c39cd05b2
parent6ca6e80f61d4fc2e88f1abc2416b1965ecf1d114
freedreno: fix stream-out offset handling for lines/tris

We need to increment offset by # of vertices, not by # of prims.  Fixes
a bunch of dEQP fails involving prims other than points.  For example,
dEQP-GLES3.functional.transform_feedback.position.lines_separate

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_draw.c