Fix texture shadow test using image views with zero aspect
authorSlawomir Cygan <slawomir.cygan@intel.com>
Fri, 6 Dec 2019 13:26:00 +0000 (14:26 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 19 Dec 2019 12:57:16 +0000 (07:57 -0500)
commit8d1a659e54e3b8a8d4cfb42bb80b602c11848177
tree3e51c1814c2dbab1b297e5631a061ae405bb28a0
parentecb066ad03aae6b5cf4cda55172938ab6171b831
Fix texture shadow test using image views with zero aspect

addCubeTexture / add2DArrayTexture functions are wrongly used, backingMode is
passed as view aspect, leading to 0 aspect being used in vkImageViewCreateInfo

Components: Vulkan

VK-GL-CTS Issue: 2144

Affects:
    dEQP-VK.texture.shadow.2d_array.*
    dEQP-VK.texture.shadow.cube.*

Change-Id: I4c338756bb6e693b815c39ab8dc5c0c046fad2a5
(cherry picked from commit b969f4eca91c110200389673c5b7d0500b2b3e59)
external/vulkancts/modules/vulkan/texture/vktTextureShadowTests.cpp