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/radeon | |
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/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 7e7e42f3d6c..d85f9f03110 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -445,12 +445,12 @@ bool si_common_context_init(struct r600_common_context *rctx, return false; rctx->b.stream_uploader = u_upload_create(&rctx->b, 1024 * 1024, - 0, PIPE_USAGE_STREAM); + 0, PIPE_USAGE_STREAM, 0); if (!rctx->b.stream_uploader) return false; rctx->b.const_uploader = u_upload_create(&rctx->b, 128 * 1024, - 0, PIPE_USAGE_DEFAULT); + 0, PIPE_USAGE_DEFAULT, 0); if (!rctx->b.const_uploader) return false; |