From f0ffbbc9fff190f014709bb5c5067bf5faae181e Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Thu, 17 Jan 2013 19:16:49 +0100 Subject: radeonsi: Enable 1D tiling for non-depth resources as well. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No piglit regressions anymore thanks to fixes in libdrm_radeon and here. Reviewed-by: Christian König Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeonsi/r600_texture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c index 580af540f74..4c6ca6eb3a7 100644 --- a/src/gallium/drivers/radeonsi/r600_texture.c +++ b/src/gallium/drivers/radeonsi/r600_texture.c @@ -522,8 +522,7 @@ struct pipe_resource *si_texture_create(struct pipe_screen *screen, int r; if (!(templ->flags & R600_RESOURCE_FLAG_TRANSFER) && - !(templ->bind & PIPE_BIND_SCANOUT) && - util_format_is_depth_or_stencil(templ->format)) { + !(templ->bind & PIPE_BIND_SCANOUT)) { if (permit_hardware_blit(screen, templ)) { array_mode = V_009910_ARRAY_1D_TILED_THIN1; } -- cgit v1.2.3