Use the correct view type in no_position tests
authorRicardo Garcia <rgarcia@igalia.com>
Wed, 13 Oct 2021 08:23:04 +0000 (10:23 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 15 Oct 2021 18:55:58 +0000 (18:55 +0000)
commit8d25d661f1788febc0313788473f6472297acb83
treeef80f07280be7b16428490b21a8ea656f1fca7e9
parent77d5be2c708f6457dc0d97c7e90aaceccd62c073
Use the correct view type in no_position tests

Multilayer no_position tests were creating image views with multiple
layers and the VK_IMAGE_VIEW_TYPE_2D type. When the number of layers is
greater than one, the type should be VK_IMAGE_VIEW_TYPE_2D_ARRAY.

Affected tests:
dEQP-VK.pipeline.no_position.*

Components: Vulkan
VK-GL-CTS issue: 3200

Change-Id: I9d24062c4f1ac80f12ac5dd1fe0e454ffade2f32
external/vulkancts/modules/vulkan/pipeline/vktPipelineNoPositionTests.cpp