Ensure the vertex shader matches the vertex input definition
authorPiers Daniell <pdaniell@nvidia.com>
Wed, 15 Sep 2021 13:41:49 +0000 (15:41 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 29 Oct 2021 17:51:33 +0000 (17:51 +0000)
commit363e7df0b6b00c9606e8733e1e7e94527232a799
treefb5fde1036dd7d2722410c80ddce84eb614c3b81
parentee61dd866b1646d84b5c54d8445b3351693f5f5e
Ensure the vertex shader matches the vertex input definition

When doing the "reversed" variants of the extended dynamic
state tests, the vertex input attribute and binding information
was reversed, but the vertex shaders were not. The meant that
in some tests the vertex shader may try to fetch from unbound
or undefined vertex attributes or vertex attribute data.

This commit fixes the issue by swapping vertex shaders for the
affected variants.

Affects:
dEQP-VK.pipeline.extended_dynamic_state.*

Components: Vulkan
VK-GL-CTS issue: 3111

Change-Id: I7d9abbe7dab0b44127f6b194ee5da79755f7658c
Co-authored-by: Ricardo Garcia <rgarcia@igalia.com>
(cherry picked from commit aebbea7b29507dfb24fb204697671ad7b4ac4fc1)
external/vulkancts/modules/vulkan/pipeline/vktPipelineExtendedDynamicStateTests.cpp