vk: Move anv_color_attachment_view_init() to gen8_state.c
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Thu, 20 Aug 2015 05:19:21 +0000 (22:19 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Mon, 24 Aug 2015 20:45:40 +0000 (13:45 -0700)
commitf5275f7eb35ad48f60f79eb60fe6f833c8ef7502
tree1cc7c26814df3190c33ed10cbeb39fe576c4e631
parent988341a73c8d6d4f839802b129e3c6df14ddcc3c
vk: Move anv_color_attachment_view_init() to gen8_state.c

I'd prefer to move anv_CreateAttachmentView() as well, but it's a little
too much generic code to just duplicate for each gen.  For now, we'll
add a anv_color_attachment_view_init() to dispatch to the gen specific
implementation, which we then call from anv_CreateAttachmentView().

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_image.c
src/vulkan/anv_private.h
src/vulkan/gen8_state.c