mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data
This commit is contained in:
parent
d65bd195ec
commit
07323a80a2
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue