radv: fix tile swizzle regression on mipmaps.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 05:43:26 +0000 (06:43 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 05:45:36 +0000 (06:45 +0100)
commita6b4f04d9bd746264629b9ecfc6f85faab433711
tree1ac69264160411a4546b9022f5e8ce874163bfa4
parentb73d8d4547bbae9562e2bb20e9938bb6604aa036
radv: fix tile swizzle regression on mipmaps.

When Marek enabled mipmapped swizzle, radv didn't
have the code in place to handle it. This fixes the
regression.

I'll look more into GFX9 once I have a vega card (soon).
Fixes: 2b7e8556 (ac/surface: enable tile swizzle for mipmapped textures)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c