i965: Weaken the flushing in gen7_end_transform_feedback().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 28 May 2013 02:18:14 +0000 (19:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Oct 2013 05:25:38 +0000 (22:25 -0700)
commitd07d38e696ef4a472910a6abe06b8b8dde4acbbc
treea0c2c04907a80921da6bc2f7b4c3af32b42f0fd3
parent93bd627d5a6c485948b94488e6cd53a06b7ebdcf
i965: Weaken the flushing in gen7_end_transform_feedback().

Since 062317d6671 (i965: Go back to using the kernel SOL reset feature.)
we've been flushing the batch on BeginTransformFeedback().  So it's not
necessary to do it on EndTransformFeedback().  A PIPE_CONTROL will work.

This makes gen7_end_transform_feedback() exactly the same as the gen6
variant.  However, they'll diverge again shortly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_sol_state.c