anv/image: Determine the alignment units for compressed formats
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 2 Oct 2015 23:11:24 +0000 (16:11 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 9 Nov 2015 23:41:41 +0000 (15:41 -0800)
commit41cf35d1d86e2075b736db7701764d66ea894b66
tree6887593ea822d88f4c63ff9728d1565b832356ca
parent381f602c6bca3d2eeef8bbeb6a96260bf93327a9
anv/image: Determine the alignment units for compressed formats

Alignment units, i and j, match the compressed format block
width and height respectively.

v2: Don't assert against HALIGN* and VALIGN* enums (Chad)

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/vulkan/anv_image.c