OSDN Git Service

anv/image: Fix usage for depthstencil images
authorChad Versace <chad.versace@intel.com>
Tue, 9 Feb 2016 20:41:08 +0000 (12:41 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 9 Feb 2016 20:54:30 +0000 (12:54 -0800)
commit4c5dcccfba3c9d0e5c7302aa797ad8d31f18cf52
tree85a515ed8b83fc959058e26f1f4aae09e2779ad3
parentc5e521f391d0b35f590f0fdc5eea3ac2e8abafe9
anv/image: Fix usage for depthstencil images

The tests assertion-failed in vkCmdClearDepthStencilImage because the
isl surface lacked ISL_SURF_USAGE_DEPTH_BIT.

Fixes: https://gitlab.khronos.org/vulkan/mesa/issues/26
Fixes: dEQP-VK.pipeline.timestamp.transfer_tests.host_stage_with_clear_depth_stencil_image_method
Fixes: dEQP-VK.pipeline.timestamp.transfer_tests.transfer_stage_with_clear_depth_stencil_image_method
src/vulkan/anv_image.c