diff options
author | Christoph Bumiller <[email protected]> | 2012-12-08 16:02:54 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-12-08 22:47:00 +0100 |
commit | 5e98cefb5a088b71ed3cb8e5cd826deed7d28b37 (patch) | |
tree | bb20c0c71fc175a7ffdee4df050dbcdd3b70041b /src | |
parent | 1f079f9e5879ed9e5f2a951bca305a43e5dc9d1d (diff) |
st/mesa: set PIPE_BIND_SAMPLER_VIEW for TBOs in st_bufferobj_data
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 7d1c05a33f7..cf291c1c176 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_TEXTURE_BUFFER: + bind = PIPE_BIND_SAMPLER_VIEW; + break; case GL_TRANSFORM_FEEDBACK_BUFFER: bind = PIPE_BIND_STREAM_OUTPUT; break; |