OSDN Git Service

vk: Drop anv_surface_view
authorChad Versace <chad.versace@intel.com>
Mon, 5 Oct 2015 23:24:53 +0000 (16:24 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 6 Oct 2015 00:46:04 +0000 (17:46 -0700)
commitf0f4dfa9cc1473c5e12eeeb9403f721d5611e905
tree85bda7f2722d8499c7abccf423e0a633f340269e
parent74193a880f475da40e8c03ff7e772f3a288317a8
vk: Drop anv_surface_view

Push the members of struct anv_surface_view into anv_image_view and
anv_buffer_view, then remove struct anv_surface_view. Observe that
anv_surface_view::range is not needed for anv_image_view, and so was
dropped there.

This prepares for the merge of VkAttachmentView into VkImageView. Remove
the common parent of anv_buffer_view and anv_image_view (that is,
anv_surface_view) will make the merge easier.
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
src/vulkan/gen7_state.c
src/vulkan/gen8_state.c