From 7d3939f0de7dcb5e68eca638d5832c683a124775 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 30 Jul 2015 16:11:50 +0200 Subject: mesa: save which transform feedback buffer is associated with which stream Reviewed-by: Dave Airlie --- src/mesa/main/mtypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index a252bf46606..4e00fb6645d 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1868,6 +1868,11 @@ struct gl_transform_feedback_info * multiple transform feedback outputs in the same buffer. */ unsigned BufferStride[MAX_FEEDBACK_BUFFERS]; + + /** + * Which transform feedback stream this buffer binding is associated with. + */ + unsigned BufferStream[MAX_FEEDBACK_BUFFERS]; }; -- cgit v1.2.3