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>
Fri, 12 Jan 2018 12:33:09 +0000 (07:33 -0500)
commit888ff8be8e69aa251fe10ada9fafc090dbcb66d2
tree32afd8d437f336bc3abfbf93c02de0853c9a8ace
parentea0a74f0f7a27af6c3b9234528a65851fc110cac
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
(cherry picked from commit 3e6306a1f1abba17d9b3f4e36913576fa33ac13d)
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp