etnaviv: avoid using RS for 64bpp formats
[mesa.git] / src / gallium / drivers / etnaviv / etnaviv_transfer.c
index b0135c068ff58fdce588cfac34a06c234922f6be..0115c5eeb7b9560cedfa4a3a372d0428cb43d80e 100644 (file)
@@ -247,7 +247,7 @@ etna_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc,
       rsc = etna_resource(rsc->texture);
    } else if (rsc->ts_bo ||
               (rsc->layout != ETNA_LAYOUT_LINEAR &&
-               util_format_get_blocksize(format) > 1 &&
+               etna_resource_hw_tileable(ctx->specs.use_blt, prsc) &&
                /* HALIGN 4 resources are incompatible with the resolve engine,
                 * so fall back to using software to detile this resource. */
                rsc->halign != TEXTURE_HALIGN_FOUR)) {