Issue 479: Remove VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
authorAlexander Galazin <alexander.galazin@arm.com>
Thu, 25 Aug 2016 10:32:42 +0000 (12:32 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Thu, 25 Aug 2016 10:32:42 +0000 (12:32 +0200)
commit1743e716fb1d2e7463551c75f6aeff5ace2d3198
treefec8097cb6a9632d66710d8dd5609d3cf73b498c
parent4726eb8b8cbac53ddfa0e3200651562142fc0ac4
Issue 479: Remove VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT

dEQP-VK.glsl.texture_gather.basic.2d.depth32f.size_pot.compare_less.clamp_to_edge_repeat unconditionally creates a VkImage with VK_FORMAT_D32_SFLOAT and VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT which is optional.
However that the test does not really need VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT because the image is not used as D/S attachment, but as SAMPLED and TRANSFER.

Change-Id: Ia8a9fe62b3f6e0cf4635e25b33f1f79e2538ba3f
external/vulkancts/modules/vulkan/shaderrender/vktShaderRender.cpp