aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-27 19:21:29 +0200
committerMarek Olšák <[email protected]>2017-07-04 15:40:37 +0200
commitfee2883bd78106a0d8dc3c081d53c8983ab6f07f (patch)
treee2130705e7335baf77ad80f1bc81dde5aea97e5b
parent5b373629fc4ba348e1ebab48304d940ebbf94d45 (diff)
gallium/radeon: ignore PIPE_BIND_SHARED for buffers
BO exports can't be predicted this way. Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/radeon/r600_buffer_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/r600_buffer_common.c b/src/gallium/drivers/radeon/r600_buffer_common.c
index 5336f55cb57..342695c1387 100644
--- a/src/gallium/drivers/radeon/r600_buffer_common.c
+++ b/src/gallium/drivers/radeon/r600_buffer_common.c
@@ -610,8 +610,6 @@ struct pipe_resource *r600_buffer_create(struct pipe_screen *screen,
r600_init_resource_fields(rscreen, rbuffer, templ->width0, alignment);
- if (templ->bind & PIPE_BIND_SHARED)
- rbuffer->flags |= RADEON_FLAG_HANDLE;
if (templ->flags & PIPE_RESOURCE_FLAG_SPARSE)
rbuffer->flags |= RADEON_FLAG_SPARSE;