i965: Properly flush in hsw_pause_transform_feedback().
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Jan 2017 08:09:53 +0000 (00:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Jan 2017 20:01:53 +0000 (12:01 -0800)
commit2138347a45fa6dad1934b1c58a9e7d7f53194828
tree3941cf36a498fd7bf0ead727635cb5be422df62b
parent4295af646fa7cf9b2cd8d0c2a481a7fc5eb43553
i965: Properly flush in hsw_pause_transform_feedback().

Fixes a number of transform feedback tests when run with Linux 4.8,
which allows us to use the MI_LOAD_REGISTER_REG command, at which point
we started using this new broken path.

ES3-CTS.functional.transform_feedback.array_element.interleaved.lines.*
and Piglit's arb_transform_feedback2/draw-auto are both fixed by this
patch, for example.

Thanks to Chris Wilson for catching this mistake!

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99030
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/hsw_sol.c