Fix LAYOUT_UNDEFINED transitions in descriptor_indexing tests
authorJeff Bolz <jbolz@nvidia.com>
Fri, 18 Oct 2019 17:05:46 +0000 (12:05 -0500)
committerJeff Bolz <jbolz@nvidia.com>
Fri, 18 Oct 2019 20:50:35 +0000 (15:50 -0500)
commit8a443a210c21d35b1dcc302f9231aa1958831d9f
tree7d5f7571795622b5eae296d99891906b40dbffdd
parent76a2b81e0ca86a65a927892ee4340bc6685e86b3
Fix LAYOUT_UNDEFINED transitions in descriptor_indexing tests

Commit 7b7ba4e0 caused the UNDEFINED->COLOR layout transition to be applied four
times, corrupting 3/4 of the image. Change the tests to do the layout transition
once, right after the framebuffer is created.

VK-GL-CTS Issue: 2064
Components: Vulkan
Affects: dEQP-VK.descriptor_indexing.*

Change-Id: Ie599ba76ba75af6fee1f4163bd96ea2bd6e4c145
external/vulkancts/modules/vulkan/descriptor_indexing/vktDescriptorSetsIndexingTests.cpp