// Copyright 2023-2024 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage // Common to query results commands * [[VUID-{refpage}-queryCount-09438]] If pname:queryCount is greater than 1, pname:stride must: not be zero * [[VUID-{refpage}-queryType-09439]] If the pname:queryType used to create pname:queryPool was ename:VK_QUERY_TYPE_TIMESTAMP, pname:flags must: not contain ename:VK_QUERY_RESULT_PARTIAL_BIT ifdef::VK_KHR_performance_query[] * [[VUID-{refpage}-queryType-09440]] If the pname:queryType used to create pname:queryPool was ename:VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, pname:flags must: not contain ename:VK_QUERY_RESULT_WITH_AVAILABILITY_BIT, ifdef::VK_KHR_video_queue[] ename:VK_QUERY_RESULT_WITH_STATUS_BIT_KHR, endif::VK_KHR_video_queue[] ename:VK_QUERY_RESULT_PARTIAL_BIT, or ename:VK_QUERY_RESULT_64_BIT * [[VUID-{refpage}-queryType-09441]] If the pname:queryType used to create pname:queryPool was ename:VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, the pname:queryPool must: have been recorded once for each pass as retrieved via a call to flink:vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR endif::VK_KHR_performance_query[] ifdef::VK_KHR_video_queue[] * [[VUID-{refpage}-queryType-09442]] If the pname:queryType used to create pname:queryPool was ename:VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR, then pname:flags must: include ename:VK_QUERY_RESULT_WITH_STATUS_BIT_KHR * [[VUID-{refpage}-flags-09443]] If pname:flags includes ename:VK_QUERY_RESULT_WITH_STATUS_BIT_KHR, then it must: not include ename:VK_QUERY_RESULT_WITH_AVAILABILITY_BIT endif::VK_KHR_video_queue[] // Common Valid Usage