anv/meta: Reuse code for vkCmdClear{Color,DepthStencil}Image
authorChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 15:43:31 +0000 (07:43 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 15:46:10 +0000 (07:46 -0800)
commit482a1f5eab1b0ec4e15833ba192adbc237d30f34
tree0bbce33c079cb181fea326e40def14b6b59e3250
parent1afe33f8b30d66ac9952e996cb3ce132c55c534f
anv/meta: Reuse code for vkCmdClear{Color,DepthStencil}Image

The two function bodies were very similar. Move common code to
anv_cmd_clear_image().

Fixes all 'dEQP-VK.renderpass.formats.*' on Skylake.
src/vulkan/anv_meta_clear.c