vk: Add anv_format reference t anv_surface_view
authorChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 20:26:28 +0000 (13:26 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 21:08:55 +0000 (14:08 -0700)
commit60c4ac57f28c655cd7b40b7f5be966f95c982a0b
tree5c760e8fc0c4ad903a9eceacd08031e6723fb863
parentc11094ec9a8e6580205e76399aa357fbbad01aed
vk: Add anv_format reference t anv_surface_view

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