vk/gen8: Refactor setting of SURFACE_STATE::Depth
authorChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 18:14:21 +0000 (11:14 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 14 Sep 2015 19:27:05 +0000 (12:27 -0700)
commitffa61e157242ee2494485d25c2a9cc56f9022613
tree8d4c6c46a8e29425835544126733a43c41c3c7dc
parenteed74e3a02e21867f47501ca9ce0be21e76f7510
vk/gen8: Refactor setting of SURFACE_STATE::Depth

The field's meaning depends on SURFACE_STATE::SurfaceType.
Make that correlation explicit by switching on VkImageType.
For good measure, add some PRM quotes too.
src/vulkan/gen8_state.c