From: Kristian H. Kristensen Date: Wed, 6 Feb 2019 22:10:36 +0000 (-0800) Subject: freedreno/a6xx: Use tiling for all resources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f7a20e91e2f869890d54869c4bc17d31c56ce57;p=mesa.git 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 --- 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); }