diff options
author | Marek Olšák <[email protected]> | 2017-09-18 18:04:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-09-27 10:38:46 +0200 |
commit | f70f6baaa3bb0f8b280ac2eaea69bbffaf7de840 (patch) | |
tree | dae6b35b64998cae47a3f1c5f140fa7272f082b7 /src/gallium/drivers/radeon/r600_texture.c | |
parent | 3ab0cff32c410fff28fa8f1dc8c2aa5232e2b16a (diff) |
gallium/radeon: consolidate PIPE_BIND_SHARED/SCANOUT handling
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; |