st/mesa: set GL_DYNAMIC_STORAGE_BIT for GL-VK interop buffers

GL_DYNAMIC_STORAGE_BIT needs to be set to make glBufferSubData work.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14750>
This commit is contained in:
Jiadong Zhu 2019-07-30 04:48:53 -04:00 committed by Marge Bot
parent 2cd0779f83
commit 10e4bad803
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ bufferobj_data_mem(struct gl_context *ctx,
GLenum usage,
struct gl_buffer_object *bufObj)
{
return bufferobj_data(ctx, target, size, NULL, memObj, offset, usage, 0, bufObj);
return bufferobj_data(ctx, target, size, NULL, memObj, offset, usage, GL_DYNAMIC_STORAGE_BIT, bufObj);
}
/**