mesa: Call TransformFeedback driver hooks before setting flags.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 9 May 2016 05:45:01 +0000 (22:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 21 May 2016 02:55:26 +0000 (19:55 -0700)
commit47fbe178fa631ae855fa862d638f5313a2b13bc3
tree4858b92ed98a5924d9fd387df0a8f3fecbe61930
parentf7eb95a5269fab015df23dd7c5152418bbd10033
mesa: Call TransformFeedback driver hooks before setting flags.

This way, the driver's EndTransformFeedback() hook can tell whether the
transform feedback operation was paused.  It's also convenient to have
Paused remain false until the driver's PauseTransformFeedback hook
finishes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/transformfeedback.c