mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers
authorMarek Olšák <maraeo@gmail.com>
Sun, 18 Dec 2011 01:13:17 +0000 (02:13 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 28 Jun 2012 20:46:51 +0000 (22:46 +0200)
commit15ac66e331abdab12e882d80a6b4f647bc905298
tree0e00a919f0a29fd0aa96e271ee0c7c27c623e546
parent638779e44555b3c3789638a95693357cf59f5595
mesa: rename MaxTransformFeedbackSeparateAttribs to MaxTransformFeedbackBuffers

This is a cleanup for ARB_transform_feedback3, where
GL_MAX_TRANSFORM_FEEDBACK_BUFFERS is introduced for interleaved attribs and
has the same meaning as GL_MAX_.._SEPARATE_ATTRIBS for separate attribs.

Also, the maximum number of TFB buffers is reduced from 32 to 4, which makes
this patch useful even without the extension.
I don't know of any hardware which can do more than 4.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/main/bufferobj.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/get.c
src/mesa/main/mtypes.h
src/mesa/main/transformfeedback.c
src/mesa/state_tracker/st_extensions.c