vulkaninfo: Fix win32 fullscreen pnext chain
authorCharles Giessen <charles@lunarg.com>
Wed, 9 Dec 2020 22:14:22 +0000 (15:14 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 9 Dec 2020 23:02:29 +0000 (16:02 -0700)
commit06635c10cd45361f0df70b4506ec611099bd16d8
tree49ea3c7ea62f04c8c17853e5c16bfb74dbaa61f5
parent0387f633882df56347c368149759b825ec55fd71
vulkaninfo: Fix win32 fullscreen pnext chain

vulkaninfo was triggering
VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pNext-02671 by not adding a
VkSurfaceFullScreenExclusiveWin32InfoEXT in the pNext chain of
VkSurfaceCapabilitiesFullScreenExclusiveEXT. This commit fixes it by adding
the struct and filling in HMONITOR with the 'current monitor' as gotten by
MonitorFromWindow with a default of using the primary monitor.

Change-Id: I025f66ef8e2d47ebb29ccd7361d3d162c644de09
vulkaninfo/vulkaninfo.h