vk: Don't duplicate anv_depth_stencil_view's surface data
authorChad Versace <chad.versace@intel.com>
Fri, 28 Aug 2015 14:52:19 +0000 (07:52 -0700)
committerChad Versace <chad.versace@intel.com>
Fri, 28 Aug 2015 14:52:19 +0000 (07:52 -0700)
commitc6f19b42486dd8f17c19779e38f7ee84f4f14a52
treec411224fdef9ffbc2a12badafc0162b82a30a2b0
parent35b0262a2d80b8b21dfccaf9a099278d3f3f6a6c
vk: Don't duplicate anv_depth_stencil_view's surface data

In anv_depth_stencil_view, replace the members
    bo
    depth_offset
    depth_stride
    depth_format
    depth_qpitch
    stencil_offset
    stencil_stride
    stencil_qpitch
with the single member
    const struct anv_image *image

The removed members duplicated data in anv_image::depth_surface and
anv_image::stencil_surface.
src/vulkan/anv_image.c
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c