From: Christoph Bumiller Date: Sun, 13 May 2012 19:32:47 +0000 (+0200) Subject: st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07323a80a258372875e61f73a4f745374bea6bda;p=mesa.git st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data --- diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 6534a4347ab..b47a2d87f74 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -195,6 +195,9 @@ st_bufferobj_data(struct gl_context *ctx, case GL_ELEMENT_ARRAY_BUFFER_ARB: bind = PIPE_BIND_INDEX_BUFFER; break; + case GL_TRANSFORM_FEEDBACK_BUFFER: + bind = PIPE_BIND_STREAM_OUTPUT; + break; default: bind = 0; }