vk: Add anv_format reference to anv_image
authorChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 20:10:40 +0000 (13:10 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 21:08:55 +0000 (14:08 -0700)
commitded736f16a9980eff3009b25b4b89763237c6cea
treef5466a16afaad0d66dd447a79845650ced368549
parent4ae42c83ec46be3e200120e928a8060628a45bb6
vk: Add anv_format reference to anv_image

Change type of anv_image::format from VkFormat to const struct
anv_format*. This reduces the number of lookups in the VkFormat ->
anv_format table.
src/vulkan/anv_image.c
src/vulkan/anv_meta.c
src/vulkan/anv_private.h