projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: add usage parameter to pipe_buffer_create
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_upload_mgr.c
diff --git
a/src/gallium/auxiliary/util/u_upload_mgr.c
b/src/gallium/auxiliary/util/u_upload_mgr.c
index 69b11f9bb774b4113fad034c3cfff37300f2efb7..dcf800a1e8e9e5733c361a42884b3324d7ab5a8b 100644
(file)
--- a/
src/gallium/auxiliary/util/u_upload_mgr.c
+++ b/
src/gallium/auxiliary/util/u_upload_mgr.c
@@
-121,6
+121,7
@@
u_upload_alloc_buffer( struct u_upload_mgr *upload,
upload->buffer = pipe_buffer_create( upload->pipe->screen,
upload->bind,
+ PIPE_USAGE_STREAM,
size );
if (upload->buffer == NULL)
goto fail;