Do not use 2D array d/s attachment created from 3D texture
authorSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 22 May 2020 14:03:20 +0000 (16:03 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 1 Jun 2020 11:23:30 +0000 (07:23 -0400)
commited16694e52fb6497d365aa1ff7b3c748ce9460a6
tree667ad3c59ea2d12b8e0d0cbff525e961baabeaee
parentdda14f6e01e4d2389119e47bb9731f7ec0d7bc11
Do not use 2D array d/s attachment created from 3D texture

Spec says, on VkFramebufferCreateInfo
"""
If flags does not include VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each
element of pAttachments that is a 2D or 2D array image view taken from a 3D
image must not be a depth/stencil format
"""

This change changes image type to be 2D array, instead of 3D

Components: Vulkan

VK-GL-CTS Issue: 2379

Affects: dEQP-VK.geometry.layered.*.readback

Change-Id: Icd957c6badb17a0fcef82015c1ab2fba0896923b
external/vulkancts/modules/vulkan/geometry/vktGeometryLayeredRenderingTests.cpp