Ensure swizzle identities work with their equivalent mappings
In vulkan/vulkan!3399 the spec modified several points to clarify
anything requiring VK_COMPONENT_SWIZZLE_IDENTITY in a VkComponentMapping
member should also work with their equivalent mappings (SWIZZLE_R,
SWIZZLE_G, SWIZZLE_B and SWIZZLE_A for the .r, .g, .b and .a members
respectively).
This commit adds new test variants with equivalent values or modifies
existing tests so mappings are switched between the two possibilities
when generating or running tests, in a deterministic way.
Affected tests:
dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.*
dEQP-VK.ycbcr.conversion.*
New tests:
dEQP-VK.texture.swizzle.component_mapping.*_rgba
dEQP-VK.texture.swizzle.component_mapping.*_iiii
dEQP-VK.texture.swizzle.component_mapping.*_abgr
dEQP-VK.pipeline.sampler.*.min_reduce.comp_r_zero_zero_zero.*
dEQP-VK.pipeline.sampler.*.mag_reduce.comp_r_zero_zero_zero.*
Components: Vulkan
VK-GL-CTS issue: 2384
Change-Id: I09fcadef9abcd56c3f5bca51425ba9b9e82a5507