From e8cdf125112934b589d9682239e46bf196bd9de1 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 27 Feb 2020 10:24:49 -0800 Subject: [PATCH] freedreno/a6xx: enable tiled compressed textures I wasn't expecting this to be too useful, since compressed textures are already block based.. but gfxbench gl_fill says otherwise. Signed-off-by: Rob Clark Part-of: --- src/gallium/drivers/freedreno/a6xx/fd6_blitter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c index ce423af3684..dc5b096597f 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_blitter.c @@ -61,6 +61,9 @@ ok_format(enum pipe_format pfmt) { enum a6xx_format fmt = fd6_pipe2color(pfmt); + if (util_format_is_compressed(pfmt)) + return true; + switch (pfmt) { case PIPE_FORMAT_Z24_UNORM_S8_UINT: case PIPE_FORMAT_Z24X8_UNORM: -- 2.30.2