gallium/radeon: ignore PIPE_BIND_SHARED for buffers

BO exports can't be predicted this way.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák
2017-06-27 19:21:29 +02:00
parent 5b373629fc
commit fee2883bd7
@@ -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;