mesa: Track the vertex program active at BeginTransformFeedback() time.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Sep 2013 21:47:19 +0000 (14:47 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Sep 2013 17:19:07 +0000 (10:19 -0700)
commitc732f68cf4aca06bac03e6a70c49047057c0c357
treec79471c136aa12cf6cfc14da7e053d8dfc5bb098
parenta7d616da69d631cc088c01b761a8b1b8b36c6b13
mesa: Track the vertex program active at BeginTransformFeedback() time.

The next few patches will use this for API error checking.

All of the drivers appear to CALLOC_STRUCT transform feedback objects,
so this should be properly NULL initialized on creation.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/mtypes.h
src/mesa/main/transformfeedback.c