diff options
author | Marek Olšák <[email protected]> | 2017-12-01 03:05:18 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-12-05 13:30:35 +0100 |
commit | dbad0acfaf2930648d85b49f9795c36e077888f8 (patch) | |
tree | 6a373b731c3db7a85102bce1338186144e575a3c /src/gallium/drivers/r300 | |
parent | c7f84f6513f9cc9502b9cf3bdca9b95a6b87c98b (diff) |
gallium/u_upload_mgr: allow drivers to specify pipe_resource::flags
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index b55fb63f000..627ba0c5702 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -425,7 +425,7 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, r300->context.create_video_buffer = vl_video_buffer_create; r300->uploader = u_upload_create(&r300->context, 1024 * 1024, - PIPE_BIND_CUSTOM, PIPE_USAGE_STREAM); + PIPE_BIND_CUSTOM, PIPE_USAGE_STREAM, 0); r300->context.stream_uploader = r300->uploader; r300->context.const_uploader = r300->uploader; |