vk: Embed two surface states in anv_image_view
authorChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 02:11:58 +0000 (19:11 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 7 Oct 2015 04:22:18 +0000 (21:22 -0700)
commit24de3d49eab3c8fd8aad3f4aeb8aac0154690374
tree1b83091b6e993798b226b4ad045d0c95951ad7e6
parent37bf120930aa9e3ccf455efc633f2edbdec9dfc1
vk: Embed two surface states in anv_image_view

This prepares for merging VkAttachmentView into VkImageView.  The two
surface states are:

   anv_image_view::color_rt_surface_state:
       RENDER_SURFACE_STATE when using image as a color render target.

   anv_image_view::nonrt_surface_state;
       RENDER_SURFACE_STATE when using image as a non render target.

No Crucible regressions.
src/vulkan/anv_cmd_buffer.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