Fix image layouts in descriptor indexing tests
authorSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 12 Jul 2019 13:02:16 +0000 (15:02 +0200)
committerSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 12 Jul 2019 14:38:58 +0000 (16:38 +0200)
commitd936e059bd15bf903bf6d33278f9e4cdc1eca020
treebebc358419e7a66598e7c8d31beaa031c930f3f3
parent819111f2c45afe62f49f3e301976da387e845497
Fix image layouts in descriptor indexing tests

This is a fix for regression introduced in 4301d73b3
- in fact this is a partial revert of that change.

After 4301d73b3, the current image layout (READ_ONLY_OPTIMAL) was
different than image layout used in descriptor set bindings
(GENERAL), what is invalid.

As some of these descriptor set binding are used for STORAGE_IMAGEs,
which require images in GENERAL layout, the simplest fix was to revert
back to using GENERAL layouts.

Components: Vulkan

VK-GL-CTS Issue: 1881

Change-Id: Idac940135bafe6be6e456d0ec554d5cc3c3fc8e7
Affects: dEQP-VK.descriptor_indexing.*
external/vulkancts/modules/vulkan/descriptor_indexing/vktDescriptorSetsIndexingTests.cpp