This test attempts to create a display plane surface but incorrectly
fills in the VkDisplaySurfaceCreateInfo with an index into dEQP's array
of display modes instead of the VkDisplayModeKHR handle itself.
The app is required to specify a valid handle.
An invalid handle results in undefined behaviour.
Affects:
dEQP-VK.wsi.display.create_display_plane_surface
Components: Vulkan
VK-GL-CTS issue: 906
Change-Id: I9fbbd40926e26bf82ed11dc1b5e807922cbc4e73
VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR, // VkStructureType sType
DE_NULL, // const void* pNext
0, // VkDisplaySurfaceCreateFlagsKHR flags
- modeIndex, // VkDisplayModeKHR displayMode
+ displayMode, // VkDisplayModeKHR displayMode
planeIndex, // uint32_t planeIndex
planeProperties[planeIndex].currentStackIndex, // uint32_t planeStackIndex
VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR, // VkSurfaceTransformFlagBitsKHR transform