Remove individual 3D slice layout transitions
authorNoah Fredriks <Noah.Fredriks@amd.com>
Wed, 31 May 2017 18:01:35 +0000 (14:01 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 30 Jun 2017 20:03:13 +0000 (16:03 -0400)
commitd03d91bf04264b88a36a58373a2ca1fe7fb29348
tree5ce30e86abcfdc31bd8105f6c5f55e2a5278d145
parent83af72c04b8723a33855fafc38b3f0a28537a124
Remove individual 3D slice layout transitions

For VK_KHR_maintenance1 render to 3D slice tests using
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBILITY_BIT_KHR, layout
transitions from undefined would actually affect all
slices in the complete mip level instead of just those
specified in the image view.  Therefore, don't use
VK_IMAGE_LAYOUT_UNDEFINED when previous subpasses may
have already rendered to the other slices.

Affects: dEQP-VK.pipeline.render_to_image.3d.*

VK-GL-CTS issue: 476
Components: Vulkan

Change-Id: I4faaaf0d849ad89dd68ef643cfe38730221f8f55
external/vulkancts/modules/vulkan/pipeline/vktPipelineRenderToImageTests.cpp