[Mesa-dev] [PATCH 2/2] radeonsi: Enable 1D tiling for non-depth resources as well.

Michel Dänzer michel at daenzer.net
Thu Jan 17 10:34:33 PST 2013


From: Michel Dänzer <michel.daenzer at amd.com>

No piglit regressions anymore thanks to fixes in libdrm_radeon and here.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/gallium/drivers/radeonsi/r600_texture.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
index 580af54..4c6ca6e 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;
 		}
-- 
1.7.10.4



More information about the mesa-dev mailing list