diff options
author | Kristian H. Kristensen <[email protected]> | 2019-02-06 14:10:36 -0800 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-02-06 15:28:48 -0800 |
commit | 0f7a20e91e2f869890d54869c4bc17d31c56ce57 (patch) | |
tree | add5cc044b026f5a057ad708a5ce30005382257b /src/gallium | |
parent | 357ea7da51a2392eb1b7f464ff99cbe8e98378e2 (diff) |
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 <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |