1// Copyright 2019-2023 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// Common Valid Usage 6// Common to all VkPhysicalDevice commands accepting a VkSurfaceKHR param, 7// which may also accept VK_NULL_HANDLE as part of VK_GOOGLE_surfaceless_query. 8 9ifdef::VK_GOOGLE_surfaceless_query[] 10 * [[VUID-{refpage}-surface-06524]] 11 If the `apiext:VK_GOOGLE_surfaceless_query` extension is not enabled, 12 pname:surface must: be a valid slink:VkSurfaceKHR handle 13 * [[VUID-{refpage}-surface-06525]] 14 If pname:surface is not dlink:VK_NULL_HANDLE, it must: be supported by 15 pname:physicalDevice, as reported by 16 flink:vkGetPhysicalDeviceSurfaceSupportKHR or an equivalent 17 platform-specific mechanism 18endif::VK_GOOGLE_surfaceless_query[] 19ifndef::VK_GOOGLE_surfaceless_query[] 20include::{chapters}/commonvalidity/surface_physical_device_common.adoc[] 21endif::VK_GOOGLE_surfaceless_query[] 22 23// Common Valid Usage 24