summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-24 23:26:39 +0200
committerMarek Olšák <[email protected]>2016-10-26 13:02:58 +0200
commit29144d0f34d9325a3549e4ed0feecc0577c70358 (patch)
treef73d8c2fea2d28c967f02883f75592a627cdf218 /src/gallium/drivers/radeonsi/si_pipe.c
parente3c3a7fadaf87f68b5d8053d21d8c986a90dec30 (diff)
gallium/radeon: stop using PIPE_BIND_CUSTOM
it has no effect whatsoever Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index ccd7f3fdcdd..bf3b442dbcc 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -202,8 +202,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
sctx->ce_suballocator =
u_suballocator_create(&sctx->b.b, 1024 * 1024,
- PIPE_BIND_CUSTOM,
- PIPE_USAGE_DEFAULT, false);
+ 0, PIPE_USAGE_DEFAULT, false);
if (!sctx->ce_suballocator)
goto fail;
}
@@ -217,7 +216,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
goto fail;
sctx->border_color_buffer = (struct r600_resource*)
- pipe_buffer_create(screen, PIPE_BIND_CUSTOM, PIPE_USAGE_DEFAULT,
+ pipe_buffer_create(screen, 0, PIPE_USAGE_DEFAULT,
SI_MAX_BORDER_COLORS *
sizeof(*sctx->border_color_table));
if (!sctx->border_color_buffer)