summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_texture.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/radeon/r600_texture.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/radeon/r600_texture.c')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index db65cd9235b..bc981da4bed 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -879,8 +879,7 @@ static void r600_texture_allocate_htile(struct r600_common_screen *rscreen,
return;
rtex->htile_buffer = (struct r600_resource*)
- r600_aligned_buffer_create(&rscreen->b, PIPE_BIND_CUSTOM,
- PIPE_USAGE_DEFAULT,
+ r600_aligned_buffer_create(&rscreen->b, 0, PIPE_USAGE_DEFAULT,
rtex->surface.htile_size,
rtex->surface.htile_alignment);
if (rtex->htile_buffer == NULL) {