Lines Matching refs:pPresentInfo
13035 bool CoreChecks::PreCallValidateQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo… in PreCallValidateQueuePresentKHR() argument
13039 for (uint32_t i = 0; i < pPresentInfo->waitSemaphoreCount; ++i) { in PreCallValidateQueuePresentKHR()
13040 auto pSemaphore = GetSemaphoreState(pPresentInfo->pWaitSemaphores[i]); in PreCallValidateQueuePresentKHR()
13045 report_data->FormatHandle(pPresentInfo->pWaitSemaphores[i]).c_str()); in PreCallValidateQueuePresentKHR()
13049 for (uint32_t i = 0; i < pPresentInfo->swapchainCount; ++i) { in PreCallValidateQueuePresentKHR()
13050 auto swapchain_data = GetSwapchainState(pPresentInfo->pSwapchains[i]); in PreCallValidateQueuePresentKHR()
13052 if (pPresentInfo->pImageIndices[i] >= swapchain_data->images.size()) { in PreCallValidateQueuePresentKHR()
13055 … HandleToUint64(pPresentInfo->pSwapchains[i]), kVUID_Core_DrawState_SwapchainInvalidImage, in PreCallValidateQueuePresentKHR()
13057 … pPresentInfo->pImageIndices[i], (uint32_t)swapchain_data->images.size()); in PreCallValidateQueuePresentKHR()
13059 auto image = swapchain_data->images[pPresentInfo->pImageIndices[i]]; in PreCallValidateQueuePresentKHR()
13068 … HandleToUint64(pPresentInfo->pSwapchains[i]), kVUID_Core_DrawState_SwapchainImageNotAcquired, in PreCallValidateQueuePresentKHR()
13070 pPresentInfo->pImageIndices[i]); in PreCallValidateQueuePresentKHR()
13096 … HandleToUint64(pPresentInfo->pSwapchains[i]), kVUID_Core_DrawState_SwapchainUnsupportedQueue, in PreCallValidateQueuePresentKHR()
13100 … HandleToUint64(pPresentInfo->pSwapchains[i]), "VUID-vkQueuePresentKHR-pSwapchains-01292", in PreCallValidateQueuePresentKHR()
13106 if (pPresentInfo && pPresentInfo->pNext) { in PreCallValidateQueuePresentKHR()
13108 const auto *present_regions = lvl_find_in_chain<VkPresentRegionsKHR>(pPresentInfo->pNext); in PreCallValidateQueuePresentKHR()
13111 auto swapchain_data = GetSwapchainState(pPresentInfo->pSwapchains[i]); in PreCallValidateQueuePresentKHR()
13118 … HandleToUint64(pPresentInfo->pSwapchains[i]), "VUID-VkRectLayerKHR-offset-01261", in PreCallValidateQueuePresentKHR()
13126 … HandleToUint64(pPresentInfo->pSwapchains[i]), "VUID-VkRectLayerKHR-offset-01261", in PreCallValidateQueuePresentKHR()
13135 … HandleToUint64(pPresentInfo->pSwapchains[i]), "VUID-VkRectLayerKHR-layer-01262", in PreCallValidateQueuePresentKHR()
13144 … const auto *present_times_info = lvl_find_in_chain<VkPresentTimesInfoGOOGLE>(pPresentInfo->pNext); in PreCallValidateQueuePresentKHR()
13146 if (pPresentInfo->swapchainCount != present_times_info->swapchainCount) { in PreCallValidateQueuePresentKHR()
13149 …HandleToUint64(pPresentInfo->pSwapchains[0]), "VUID-VkPresentTimesInfoGOOGLE-swapchainCount-01247", in PreCallValidateQueuePresentKHR()
13153 present_times_info->swapchainCount, pPresentInfo->swapchainCount); in PreCallValidateQueuePresentKHR()
13161 void CoreChecks::PostCallRecordQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo,… in PostCallRecordQueuePresentKHR() argument
13163 for (uint32_t i = 0; i < pPresentInfo->waitSemaphoreCount; ++i) { in PostCallRecordQueuePresentKHR()
13164 auto pSemaphore = GetSemaphoreState(pPresentInfo->pWaitSemaphores[i]); in PostCallRecordQueuePresentKHR()
13171 for (uint32_t i = 0; i < pPresentInfo->swapchainCount; ++i) { in PostCallRecordQueuePresentKHR()
13174 auto local_result = pPresentInfo->pResults ? pPresentInfo->pResults[i] : result; in PostCallRecordQueuePresentKHR()
13177 auto swapchain_data = GetSwapchainState(pPresentInfo->pSwapchains[i]); in PostCallRecordQueuePresentKHR()
13178 if (swapchain_data && (swapchain_data->images.size() > pPresentInfo->pImageIndices[i])) { in PostCallRecordQueuePresentKHR()
13179 auto image = swapchain_data->images[pPresentInfo->pImageIndices[i]]; in PostCallRecordQueuePresentKHR()