ac/surface: move tile_swizzle to ac_surface and document it
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Jul 2017 19:34:02 +0000 (21:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 4 Aug 2017 00:10:04 +0000 (02:10 +0200)
commit4662e45350d54d55950253d361321ba6cb291c68
tree9a1182ab57dcef36747a4a8cdfe3cf08753431be
parent6839d3369905eb02151334ea7b4cd39ddcfa6770
ac/surface: move tile_swizzle to ac_surface and document it

Gfx9 will use it too.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_surface.c
src/amd/common/ac_surface.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_image.c