diff options
author | Marek Olšák <[email protected]> | 2015-12-19 17:43:48 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-02 15:15:45 +0100 |
commit | 37d0aea772a39f9ae7fe3d791e23c1be03ccf9de (patch) | |
tree | b6fb4928a1eca231f3cdda5bec1a0a8217ddbe62 /src/gallium/drivers/freedreno | |
parent | 1bb79c3a7bee7298b0415ee21a9412c98b1cfee5 (diff) |
u_upload_mgr: remove alignment parameter from u_upload_create
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_context.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_context.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_context.c b/src/gallium/drivers/freedreno/a3xx/fd3_context.c index 2413f152f94..edc716e25c8 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_context.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_context.c @@ -171,8 +171,7 @@ fd3_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) fd3_query_context_init(pctx); - fd3_ctx->border_color_uploader = u_upload_create(pctx, 4096, - BORDER_COLOR_UPLOAD_SIZE, 0); + fd3_ctx->border_color_uploader = u_upload_create(pctx, 4096, 0); return pctx; } diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_context.c b/src/gallium/drivers/freedreno/a4xx/fd4_context.c index 1037adfebf8..f074a01b886 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_context.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_context.c @@ -171,8 +171,7 @@ fd4_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) fd4_query_context_init(pctx); - fd4_ctx->border_color_uploader = u_upload_create(pctx, 4096, - BORDER_COLOR_UPLOAD_SIZE, 0); + fd4_ctx->border_color_uploader = u_upload_create(pctx, 4096, 0); return pctx; } |