vk/image: Add anv_image::h_align,v_align
authorChad Versace <chad.versace@intel.com>
Tue, 9 Jun 2015 19:11:46 +0000 (12:11 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 9 Jun 2015 19:19:24 +0000 (12:19 -0700)
commite6162c2feff6dee48cd5c1e99e2fe70b5ce07f9f
tree5ac4571f42222694a9ef393d7d9d24a7c0fa0f6d
parent58afc24e57bc96d159de84f1727e7239c7576edd
vk/image: Add anv_image::h_align,v_align

Use the new fields to compute RENDER_SURFACE_STATE.Surface*Alignment.
We still hardcode them to 4, though.
src/vulkan/image.c
src/vulkan/private.h