anv/gen8: Refactor genX_image_view_init()
authorChad Versace <chad.versace@intel.com>
Fri, 8 Jan 2016 01:02:49 +0000 (17:02 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 8 Jan 2016 01:20:25 +0000 (17:20 -0800)
commit24d82a3f79e34acadb27dc5148002cd8f8e13674
treec968f0f82d4172337cf72275c2505d47854216f7
parent1b1dca75a401b2d885ae7583837a63c3f66da022
anv/gen8: Refactor genX_image_view_init()

Drop the temporary variables for RENDER_SURFACE_STATE's Depth and
RenderTargetViewExtent. Instead, assign them in-place.

This simplifies the next commit, which fixes gen9 cube surfaces.
src/vulkan/gen8_state.c