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 <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4868>
This commit is contained in:
Rob Clark
2020-02-27 10:24:49 -08:00
committed by Kristian H. Kristensen
parent 193560c44b
commit e8cdf12511

View File

@@ -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: