From 0f7a20e91e2f869890d54869c4bc17d31c56ce57 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Wed, 6 Feb 2019 14:10:36 -0800 Subject: [PATCH] freedreno/a6xx: Use tiling for all resources We used to restrict this to just PIPE_BIND_SAMPLER_VIEW resources, but most resources benefit from being tiled. Signed-off-by: Kristian H. Kristensen Reviewed-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_resource.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/freedreno_resource.c b/src/gallium/drivers/freedreno/freedreno_resource.c index ce8e4480be1..835de9f93ee 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.c +++ b/src/gallium/drivers/freedreno/freedreno_resource.c @@ -914,7 +914,6 @@ fd_resource_create_with_modifiers(struct pipe_screen *pscreen, if (screen->tile_mode && (tmpl->target != PIPE_BUFFER) && - (tmpl->bind & PIPE_BIND_SAMPLER_VIEW) && !linear) { rsc->tile_mode = screen->tile_mode(tmpl); } -- 2.30.2