mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
mesa: Translate MAP_UNSYNCHRONIZED_BIT.
This commit is contained in:
parent
244591ae7b
commit
f611425101
1 changed files with 3 additions and 0 deletions
|
|
@ -239,6 +239,9 @@ st_bufferobj_map_range(GLcontext *ctx, GLenum target,
|
|||
if (access & GL_MAP_FLUSH_EXPLICIT_BIT)
|
||||
flags |= PIPE_BUFFER_USAGE_FLUSH_EXPLICIT;
|
||||
|
||||
if (access & GL_MAP_UNSYNCHRONIZED_BIT)
|
||||
flags |= PIPE_BUFFER_USAGE_UNSYNCHRONIZED;
|
||||
|
||||
/* ... other flags ...
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue