anv/image: Fix choice of isl_surf_usage for depthstencil images
authorChad Versace <chad.versace@intel.com>
Sat, 5 Dec 2015 00:29:25 +0000 (16:29 -0800)
committerChad Versace <chad.versace@intel.com>
Sat, 5 Dec 2015 00:37:05 +0000 (16:37 -0800)
commit2f270f0d15eba2b1ac0a86cf6ebb8e2cb0767d8a
tree46d9a37c2d2910899d4562926199229ed2d9b100
parenta09b4c298ceed529ffc6dc5f48b1721aeb1d08a0
anv/image: Fix choice of isl_surf_usage for depthstencil images

Fixes assertion in vkCreateImage when VkFormat is combined depthstencil.

Fixed many vulkancts tests that use combined depthstencil. For example,
fixes dEQP-VK.pipeline.depth.format.d16_unorm_s8_uint.compare_ops.\
not_equal_less_or_equal_not_equal_greater.
src/vulkan/anv_image.c