anv/gen9: Fix cube surface state
authorChad Versace <chad.versace@intel.com>
Fri, 8 Jan 2016 01:05:22 +0000 (17:05 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 8 Jan 2016 01:20:25 +0000 (17:20 -0800)
commit1818463733639e039cffc94310556ace35dccff7
tree571dd63cb8c16767899e2e12297eea30bbc6e5d8
parent24d82a3f79e34acadb27dc5148002cd8f8e13674
anv/gen9: Fix cube surface state

For gen9 SURFTYPE_CUBE, the RENDER_SURFACE_STATE's Depth,
MinimumArrayElement, and RenderTargetViewExtent is in units of full
cubes and so must be divided by 6.

Fixes 'dEQP-VK.pipeline.image.view_type.cube_array.cube_array.*'.

Now all of 'dEQP-VK.pipeline.image.*' passes.
src/vulkan/gen8_state.c