draw: flush when setting stream-out targets
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 1 May 2019 13:37:45 +0000 (15:37 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 6 May 2019 20:42:37 +0000 (22:42 +0200)
commitd84b85bc28d50182f77f2e42e3c14ccedd70715f
treee5331af74195f56eb56fc7a7210474b98370a9a3
parented53e61bec9e926b60ede093d4dd2bac56a4c605
draw: flush when setting stream-out targets

We need to re-prepare the middle-end state to pick up changes to this
state to react correctly to pausing/resuming stream-out. So let's add a
flush here.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: ec8cbd79ac4 "draw/softpipe: EXT_transform_feedback support (v2)"
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_context.c