From: Rob Clark Date: Thu, 27 Feb 2020 18:24:49 +0000 (-0800) Subject: freedreno/a6xx: enable tiled compressed textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8cdf125112934b589d9682239e46bf196bd9de1;p=mesa.git 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: --- 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: