vk: Pass anv_format to anv_fill_buffer_surface_state()
authorChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 20:20:33 +0000 (13:20 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 17 Aug 2015 21:08:55 +0000 (14:08 -0700)
commitc11094ec9a8e6580205e76399aa357fbbad01aed
treef68ebd70b7e81cfede85ee155ab40ef14f794357
parentded736f16a9980eff3009b25b4b89763237c6cea
vk: Pass anv_format to anv_fill_buffer_surface_state()

This moves the translation of VkFormat to anv_format from
anv_fill_buffer_surface_state() to its caller.

A prep commit to reduce more VkFormat -> anv_format translations.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_device.c
src/vulkan/anv_private.h