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:
parent
2cd0779f83
commit
10e4bad803
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue