Invalid handle in create_display_plane_surface
authorAlex Walters <alex.walters@imgtec.com>
Wed, 13 Dec 2017 15:47:23 +0000 (15:47 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 19 Dec 2017 14:36:09 +0000 (09:36 -0500)
commit3e6306a1f1abba17d9b3f4e36913576fa33ac13d
treed5ee7343da87a5660b6d848e240ccce52811cae7
parent63f65b30eac833357b90fc789529426d83567c36
Invalid handle in create_display_plane_surface

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
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp