summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/etna_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/etna_resource.c b/src/driver/etna_resource.c
index 4389a2f..1cee86f 100644
--- a/src/driver/etna_resource.c
+++ b/src/driver/etna_resource.c
@@ -148,7 +148,7 @@ static struct pipe_resource * etna_screen_resource_create(struct pipe_screen *sc
}
/* multi tiled formats */
- if (priv->dev->chip.pixel_pipes > 1)
+ if ((priv->dev->chip.pixel_pipes > 1) && !(templat->bind & PIPE_BIND_SAMPLER_VIEW))
{
if (layout == ETNA_LAYOUT_TILED)
layout = ETNA_LAYOUT_MULTI_TILED;