From f70f6baaa3bb0f8b280ac2eaea69bbffaf7de840 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 18 Sep 2017 18:04:25 +0200 Subject: gallium/radeon: consolidate PIPE_BIND_SHARED/SCANOUT handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_texture.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers/radeon/r600_texture.c') diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 829d1058271..a9a1b2627e5 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1219,10 +1219,6 @@ r600_texture_create_object(struct pipe_screen *screen, si_init_resource_fields(rscreen, resource, rtex->size, rtex->surface.surf_alignment); - /* Displayable surfaces are not suballocated. */ - if (resource->b.b.bind & PIPE_BIND_SCANOUT) - resource->flags |= RADEON_FLAG_NO_SUBALLOC; - if (!si_alloc_resource(rscreen, resource)) { FREE(rtex); return NULL; -- cgit v1.2.3