Lines Matching refs:layer_data
47 void WrapPnextChainHandles(ValidationObject *layer_data, const void *pNext) { in WrapPnextChainHandles() argument
58 … safe_struct->pAcquireSyncs[index0] = layer_data->Unwrap(safe_struct->pAcquireSyncs[index0]); in WrapPnextChainHandles()
63 … safe_struct->pReleaseSyncs[index0] = layer_data->Unwrap(safe_struct->pReleaseSyncs[index0]); in WrapPnextChainHandles()
74 … safe_struct->pAcquireSyncs[index0] = layer_data->Unwrap(safe_struct->pAcquireSyncs[index0]); in WrapPnextChainHandles()
79 … safe_struct->pReleaseSyncs[index0] = layer_data->Unwrap(safe_struct->pReleaseSyncs[index0]); in WrapPnextChainHandles()
88 safe_struct->image = layer_data->Unwrap(safe_struct->image); in WrapPnextChainHandles()
91 safe_struct->buffer = layer_data->Unwrap(safe_struct->buffer); in WrapPnextChainHandles()
98 safe_struct->image = layer_data->Unwrap(safe_struct->image); in WrapPnextChainHandles()
101 safe_struct->buffer = layer_data->Unwrap(safe_struct->buffer); in WrapPnextChainHandles()
108 safe_struct->swapchain = layer_data->Unwrap(safe_struct->swapchain); in WrapPnextChainHandles()
115 safe_struct->conversion = layer_data->Unwrap(safe_struct->conversion); in WrapPnextChainHandles()
122 … safe_struct->validationCache = layer_data->Unwrap(safe_struct->validationCache); in WrapPnextChainHandles()
130 …safe_struct->pAccelerationStructures[index0] = layer_data->Unwrap(safe_struct->pAccelerationStruct… in WrapPnextChainHandles()
139 … safe_struct->pAttachments[index0] = layer_data->Unwrap(safe_struct->pAttachments[index0]); in WrapPnextChainHandles()
147 safe_struct->swapchain = layer_data->Unwrap(safe_struct->swapchain); in WrapPnextChainHandles()
166 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateComputePipelines() local
167 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateComputePipelines(device, pipelin… in DispatchCreateComputePipelines()
175 …local_pCreateInfos[idx0].basePipelineHandle = layer_data->Unwrap(pCreateInfos[idx0].basePipelineHa… in DispatchCreateComputePipelines()
178 local_pCreateInfos[idx0].layout = layer_data->Unwrap(pCreateInfos[idx0].layout); in DispatchCreateComputePipelines()
181 … local_pCreateInfos[idx0].stage.module = layer_data->Unwrap(pCreateInfos[idx0].stage.module); in DispatchCreateComputePipelines()
186 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchCreateComputePipelines()
189 …VkResult result = layer_data->device_dispatch_table.CreateComputePipelines(device, pipelineCache, … in DispatchCreateComputePipelines()
195 pPipelines[i] = layer_data->WrapNew(pPipelines[i]); in DispatchCreateComputePipelines()
205 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateGraphicsPipelines() local
206 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateGraphicsPipelines(device, pipeli… in DispatchCreateGraphicsPipelines()
216 …const auto subpasses_uses_it = layer_data->renderpasses_states.find(layer_data->Unwrap(pCreateInfo… in DispatchCreateGraphicsPipelines()
217 if (subpasses_uses_it != layer_data->renderpasses_states.end()) { in DispatchCreateGraphicsPipelines()
229 …local_pCreateInfos[idx0].basePipelineHandle = layer_data->Unwrap(pCreateInfos[idx0].basePipelineHa… in DispatchCreateGraphicsPipelines()
232 local_pCreateInfos[idx0].layout = layer_data->Unwrap(pCreateInfos[idx0].layout); in DispatchCreateGraphicsPipelines()
237 …local_pCreateInfos[idx0].pStages[idx1].module = layer_data->Unwrap(pCreateInfos[idx0].pStages[idx1… in DispatchCreateGraphicsPipelines()
242 … local_pCreateInfos[idx0].renderPass = layer_data->Unwrap(pCreateInfos[idx0].renderPass); in DispatchCreateGraphicsPipelines()
247 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchCreateGraphicsPipelines()
250 …VkResult result = layer_data->device_dispatch_table.CreateGraphicsPipelines(device, pipelineCache,… in DispatchCreateGraphicsPipelines()
256 pPipelines[i] = layer_data->WrapNew(pPipelines[i]); in DispatchCreateGraphicsPipelines()
264 static void UpdateCreateRenderPassState(ValidationObject *layer_data, const T *pCreateInfo, VkRende… in UpdateCreateRenderPassState() argument
265 auto &renderpass_state = layer_data->renderpasses_states[renderPass]; in UpdateCreateRenderPassState()
284 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateRenderPass() local
285 …VkResult result = layer_data->device_dispatch_table.CreateRenderPass(device, pCreateInfo, pAllocat… in DispatchCreateRenderPass()
289 UpdateCreateRenderPassState(layer_data, pCreateInfo, *pRenderPass); in DispatchCreateRenderPass()
290 *pRenderPass = layer_data->WrapNew(*pRenderPass); in DispatchCreateRenderPass()
297 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateRenderPass2KHR() local
298 …VkResult result = layer_data->device_dispatch_table.CreateRenderPass2KHR(device, pCreateInfo, pAll… in DispatchCreateRenderPass2KHR()
302 UpdateCreateRenderPassState(layer_data, pCreateInfo, *pRenderPass); in DispatchCreateRenderPass2KHR()
303 *pRenderPass = layer_data->WrapNew(*pRenderPass); in DispatchCreateRenderPass2KHR()
309 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyRenderPass() local
310 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyRenderPass(device, renderPass, … in DispatchDestroyRenderPass()
320 layer_data->device_dispatch_table.DestroyRenderPass(device, renderPass, pAllocator); in DispatchDestroyRenderPass()
323 layer_data->renderpasses_states.erase(renderPass); in DispatchDestroyRenderPass()
328 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSwapchainKHR() local
329 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateSwapchainKHR(device, pCreateInfo… in DispatchCreateSwapchainKHR()
333 local_pCreateInfo->oldSwapchain = layer_data->Unwrap(pCreateInfo->oldSwapchain); in DispatchCreateSwapchainKHR()
335 local_pCreateInfo->surface = layer_data->Unwrap(pCreateInfo->surface); in DispatchCreateSwapchainKHR()
338 …VkResult result = layer_data->device_dispatch_table.CreateSwapchainKHR(device, local_pCreateInfo->… in DispatchCreateSwapchainKHR()
342 *pSwapchain = layer_data->WrapNew(*pSwapchain); in DispatchCreateSwapchainKHR()
349 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSharedSwapchainsKHR() local
351 …return layer_data->device_dispatch_table.CreateSharedSwapchainsKHR(device, swapchainCount, pCreate… in DispatchCreateSharedSwapchainsKHR()
361 local_pCreateInfos[i].surface = layer_data->Unwrap(pCreateInfos[i].surface); in DispatchCreateSharedSwapchainsKHR()
364 … local_pCreateInfos[i].oldSwapchain = layer_data->Unwrap(pCreateInfos[i].oldSwapchain); in DispatchCreateSharedSwapchainsKHR()
369 …VkResult result = layer_data->device_dispatch_table.CreateSharedSwapchainsKHR(device, swapchainCou… in DispatchCreateSharedSwapchainsKHR()
374 pSwapchains[i] = layer_data->WrapNew(pSwapchains[i]); in DispatchCreateSharedSwapchainsKHR()
382 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetSwapchainImagesKHR() local
384 …return layer_data->device_dispatch_table.GetSwapchainImagesKHR(device, swapchain, pSwapchainImageC… in DispatchGetSwapchainImagesKHR()
387 swapchain = layer_data->Unwrap(swapchain); in DispatchGetSwapchainImagesKHR()
390 …layer_data->device_dispatch_table.GetSwapchainImagesKHR(device, swapchain, pSwapchainImageCount, p… in DispatchGetSwapchainImagesKHR()
394 …auto &wrapped_swapchain_image_handles = layer_data->swapchain_wrapped_image_handle_map[wrapped_swa… in DispatchGetSwapchainImagesKHR()
396 … wrapped_swapchain_image_handles.emplace_back(layer_data->WrapNew(pSwapchainImages[i])); in DispatchGetSwapchainImagesKHR()
407 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroySwapchainKHR() local
408 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroySwapchainKHR(device, swapchain,… in DispatchDestroySwapchainKHR()
411 auto &image_array = layer_data->swapchain_wrapped_image_handle_map[swapchain]; in DispatchDestroySwapchainKHR()
415 layer_data->swapchain_wrapped_image_handle_map.erase(swapchain); in DispatchDestroySwapchainKHR()
427 layer_data->device_dispatch_table.DestroySwapchainKHR(device, swapchain, pAllocator); in DispatchDestroySwapchainKHR()
431 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueuePresentKHR() local
432 … if (!wrap_handles) return layer_data->device_dispatch_table.QueuePresentKHR(queue, pPresentInfo); in DispatchQueuePresentKHR()
439 …local_pPresentInfo->pWaitSemaphores[index1] = layer_data->Unwrap(pPresentInfo->pWaitSemaphores[ind… in DispatchQueuePresentKHR()
444 … local_pPresentInfo->pSwapchains[index1] = layer_data->Unwrap(pPresentInfo->pSwapchains[index1]); in DispatchQueuePresentKHR()
449 …VkResult result = layer_data->device_dispatch_table.QueuePresentKHR(queue, local_pPresentInfo->ptr… in DispatchQueuePresentKHR()
463 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyDescriptorPool() local
464 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyDescriptorPool(device, descript… in DispatchDestroyDescriptorPool()
468 for(auto descriptor_set : layer_data->pool_descriptor_sets_map[descriptorPool]) { in DispatchDestroyDescriptorPool()
471 layer_data->pool_descriptor_sets_map.erase(descriptorPool); in DispatchDestroyDescriptorPool()
483 layer_data->device_dispatch_table.DestroyDescriptorPool(device, descriptorPool, pAllocator); in DispatchDestroyDescriptorPool()
487 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchResetDescriptorPool() local
488 …if (!wrap_handles) return layer_data->device_dispatch_table.ResetDescriptorPool(device, descriptor… in DispatchResetDescriptorPool()
491 local_descriptor_pool = layer_data->Unwrap(descriptorPool); in DispatchResetDescriptorPool()
493 …VkResult result = layer_data->device_dispatch_table.ResetDescriptorPool(device, local_descriptor_p… in DispatchResetDescriptorPool()
497 for(auto descriptor_set : layer_data->pool_descriptor_sets_map[descriptorPool]) { in DispatchResetDescriptorPool()
500 layer_data->pool_descriptor_sets_map[descriptorPool].clear(); in DispatchResetDescriptorPool()
508 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAllocateDescriptorSets() local
509 …if (!wrap_handles) return layer_data->device_dispatch_table.AllocateDescriptorSets(device, pAlloca… in DispatchAllocateDescriptorSets()
515 … local_pAllocateInfo->descriptorPool = layer_data->Unwrap(pAllocateInfo->descriptorPool); in DispatchAllocateDescriptorSets()
519 …local_pAllocateInfo->pSetLayouts[index1] = layer_data->Unwrap(local_pAllocateInfo->pSetLayouts[ind… in DispatchAllocateDescriptorSets()
524 VkResult result = layer_data->device_dispatch_table.AllocateDescriptorSets( in DispatchAllocateDescriptorSets()
531 … auto &pool_descriptor_sets = layer_data->pool_descriptor_sets_map[pAllocateInfo->descriptorPool]; in DispatchAllocateDescriptorSets()
533 pDescriptorSets[index0] = layer_data->WrapNew(pDescriptorSets[index0]); in DispatchAllocateDescriptorSets()
542 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchFreeDescriptorSets() local
544 …return layer_data->device_dispatch_table.FreeDescriptorSets(device, descriptorPool, descriptorSetC… in DispatchFreeDescriptorSets()
548 local_descriptor_pool = layer_data->Unwrap(descriptorPool); in DispatchFreeDescriptorSets()
552 local_pDescriptorSets[index0] = layer_data->Unwrap(pDescriptorSets[index0]); in DispatchFreeDescriptorSets()
556 …VkResult result = layer_data->device_dispatch_table.FreeDescriptorSets(device, local_descriptor_po… in DispatchFreeDescriptorSets()
561 auto &pool_descriptor_sets = layer_data->pool_descriptor_sets_map[descriptorPool]; in DispatchFreeDescriptorSets()
576 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateDescriptorUpdateTemplate() local
578 …return layer_data->device_dispatch_table.CreateDescriptorUpdateTemplate(device, pCreateInfo, pAllo… in DispatchCreateDescriptorUpdateTemplate()
585 … local_create_info->descriptorSetLayout = layer_data->Unwrap(pCreateInfo->descriptorSetLayout); in DispatchCreateDescriptorUpdateTemplate()
588 local_create_info->pipelineLayout = layer_data->Unwrap(pCreateInfo->pipelineLayout); in DispatchCreateDescriptorUpdateTemplate()
592 …VkResult result = layer_data->device_dispatch_table.CreateDescriptorUpdateTemplate(device, local_c… in DispatchCreateDescriptorUpdateTemplate()
596 *pDescriptorUpdateTemplate = layer_data->WrapNew(*pDescriptorUpdateTemplate); in DispatchCreateDescriptorUpdateTemplate()
600 …layer_data->desc_template_createinfo_map[(uint64_t)*pDescriptorUpdateTemplate] = std::move(templat… in DispatchCreateDescriptorUpdateTemplate()
609 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateDescriptorUpdateTemplateKHR() local
611 …return layer_data->device_dispatch_table.CreateDescriptorUpdateTemplateKHR(device, pCreateInfo, pA… in DispatchCreateDescriptorUpdateTemplateKHR()
618 … local_create_info->descriptorSetLayout = layer_data->Unwrap(pCreateInfo->descriptorSetLayout); in DispatchCreateDescriptorUpdateTemplateKHR()
621 local_create_info->pipelineLayout = layer_data->Unwrap(pCreateInfo->pipelineLayout); in DispatchCreateDescriptorUpdateTemplateKHR()
625 …VkResult result = layer_data->device_dispatch_table.CreateDescriptorUpdateTemplateKHR(device, loca… in DispatchCreateDescriptorUpdateTemplateKHR()
629 *pDescriptorUpdateTemplate = layer_data->WrapNew(*pDescriptorUpdateTemplate); in DispatchCreateDescriptorUpdateTemplateKHR()
633 …layer_data->desc_template_createinfo_map[(uint64_t)*pDescriptorUpdateTemplate] = std::move(templat… in DispatchCreateDescriptorUpdateTemplateKHR()
641 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyDescriptorUpdateTemplate() local
643 …return layer_data->device_dispatch_table.DestroyDescriptorUpdateTemplate(device, descriptorUpdateT… in DispatchDestroyDescriptorUpdateTemplate()
646 layer_data->desc_template_createinfo_map.erase(descriptor_update_template_id); in DispatchDestroyDescriptorUpdateTemplate()
656 …layer_data->device_dispatch_table.DestroyDescriptorUpdateTemplate(device, descriptorUpdateTemplate… in DispatchDestroyDescriptorUpdateTemplate()
662 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyDescriptorUpdateTemplateKHR() local
664 …return layer_data->device_dispatch_table.DestroyDescriptorUpdateTemplateKHR(device, descriptorUpda… in DispatchDestroyDescriptorUpdateTemplateKHR()
667 layer_data->desc_template_createinfo_map.erase(descriptor_update_template_id); in DispatchDestroyDescriptorUpdateTemplateKHR()
677 …layer_data->device_dispatch_table.DestroyDescriptorUpdateTemplateKHR(device, descriptorUpdateTempl… in DispatchDestroyDescriptorUpdateTemplateKHR()
680 void *BuildUnwrappedUpdateTemplateBuffer(ValidationObject *layer_data, uint64_t descriptorUpdateTem… in BuildUnwrappedUpdateTemplateBuffer() argument
681 …auto const template_map_entry = layer_data->desc_template_createinfo_map.find(descriptorUpdateTemp… in BuildUnwrappedUpdateTemplateBuffer()
682 if (template_map_entry == layer_data->desc_template_createinfo_map.end()) { in BuildUnwrappedUpdateTemplateBuffer()
704 wrapped_entry->sampler = layer_data->Unwrap(image_entry->sampler); in BuildUnwrappedUpdateTemplateBuffer()
705 wrapped_entry->imageView = layer_data->Unwrap(image_entry->imageView); in BuildUnwrappedUpdateTemplateBuffer()
717 wrapped_entry->buffer = layer_data->Unwrap(buffer_entry->buffer); in BuildUnwrappedUpdateTemplateBuffer()
726 VkBufferView wrapped_entry = layer_data->Unwrap(*buffer_view_handle); in BuildUnwrappedUpdateTemplateBuffer()
781 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUpdateDescriptorSetWithTemplate() local
783 …return layer_data->device_dispatch_table.UpdateDescriptorSetWithTemplate(device, descriptorSet, de… in DispatchUpdateDescriptorSetWithTemplate()
789 descriptorSet = layer_data->Unwrap(descriptorSet); in DispatchUpdateDescriptorSetWithTemplate()
790 …descriptorUpdateTemplate = (VkDescriptorUpdateTemplate)layer_data->Unwrap(descriptorUpdateTemplate… in DispatchUpdateDescriptorSetWithTemplate()
791 unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(layer_data, template_handle, pData); in DispatchUpdateDescriptorSetWithTemplate()
793 …layer_data->device_dispatch_table.UpdateDescriptorSetWithTemplate(device, descriptorSet, descripto… in DispatchUpdateDescriptorSetWithTemplate()
799 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUpdateDescriptorSetWithTemplateKHR() local
801 …return layer_data->device_dispatch_table.UpdateDescriptorSetWithTemplateKHR(device, descriptorSet,… in DispatchUpdateDescriptorSetWithTemplateKHR()
807 descriptorSet = layer_data->Unwrap(descriptorSet); in DispatchUpdateDescriptorSetWithTemplateKHR()
808 descriptorUpdateTemplate = layer_data->Unwrap(descriptorUpdateTemplate); in DispatchUpdateDescriptorSetWithTemplateKHR()
809 unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(layer_data, template_handle, pData); in DispatchUpdateDescriptorSetWithTemplateKHR()
811 …layer_data->device_dispatch_table.UpdateDescriptorSetWithTemplateKHR(device, descriptorSet, descri… in DispatchUpdateDescriptorSetWithTemplateKHR()
818 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdPushDescriptorSetWithTemplateKHR() local
820 …return layer_data->device_dispatch_table.CmdPushDescriptorSetWithTemplateKHR(commandBuffer, descri… in DispatchCmdPushDescriptorSetWithTemplateKHR()
826 descriptorUpdateTemplate = layer_data->Unwrap(descriptorUpdateTemplate); in DispatchCmdPushDescriptorSetWithTemplateKHR()
827 layout = layer_data->Unwrap(layout); in DispatchCmdPushDescriptorSetWithTemplateKHR()
828 unwrapped_buffer = BuildUnwrappedUpdateTemplateBuffer(layer_data, template_handle, pData); in DispatchCmdPushDescriptorSetWithTemplateKHR()
830 …layer_data->device_dispatch_table.CmdPushDescriptorSetWithTemplateKHR(commandBuffer, descriptorUpd… in DispatchCmdPushDescriptorSetWithTemplateKHR()
837 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceDisplayPropertiesKHR() local
839 …layer_data->instance_dispatch_table.GetPhysicalDeviceDisplayPropertiesKHR(physicalDevice, pPropert… in DispatchGetPhysicalDeviceDisplayPropertiesKHR()
843 … pProperties[idx0].display = layer_data->MaybeWrapDisplay(pProperties[idx0].display, layer_data); in DispatchGetPhysicalDeviceDisplayPropertiesKHR()
851 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceDisplayProperties2KHR() local
853 …layer_data->instance_dispatch_table.GetPhysicalDeviceDisplayProperties2KHR(physicalDevice, pProper… in DispatchGetPhysicalDeviceDisplayProperties2KHR()
858 … layer_data->MaybeWrapDisplay(pProperties[idx0].displayProperties.display, layer_data); in DispatchGetPhysicalDeviceDisplayProperties2KHR()
866 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceDisplayPlanePropertiesKHR() local
868 …layer_data->instance_dispatch_table.GetPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice, pPr… in DispatchGetPhysicalDeviceDisplayPlanePropertiesKHR()
873 if (opt_display) opt_display = layer_data->MaybeWrapDisplay(opt_display, layer_data); in DispatchGetPhysicalDeviceDisplayPlanePropertiesKHR()
881 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceDisplayPlaneProperties2KHR() local
882 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceDisplayPlaneProperties2KHR(… in DispatchGetPhysicalDeviceDisplayPlaneProperties2KHR()
888 if (opt_display) opt_display = layer_data->MaybeWrapDisplay(opt_display, layer_data); in DispatchGetPhysicalDeviceDisplayPlaneProperties2KHR()
896 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetDisplayPlaneSupportedDisplaysKHR() local
897 …VkResult result = layer_data->instance_dispatch_table.GetDisplayPlaneSupportedDisplaysKHR(physical… in DispatchGetDisplayPlaneSupportedDisplaysKHR()
902 if (pDisplays[i]) pDisplays[i] = layer_data->MaybeWrapDisplay(pDisplays[i], layer_data); in DispatchGetDisplayPlaneSupportedDisplaysKHR()
910 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetDisplayModePropertiesKHR() local
912 …return layer_data->instance_dispatch_table.GetDisplayModePropertiesKHR(physicalDevice, display, pP… in DispatchGetDisplayModePropertiesKHR()
915 display = layer_data->Unwrap(display); in DispatchGetDisplayModePropertiesKHR()
918 …VkResult result = layer_data->instance_dispatch_table.GetDisplayModePropertiesKHR(physicalDevice, … in DispatchGetDisplayModePropertiesKHR()
921 pProperties[idx0].displayMode = layer_data->WrapNew(pProperties[idx0].displayMode); in DispatchGetDisplayModePropertiesKHR()
929 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetDisplayModeProperties2KHR() local
931 …return layer_data->instance_dispatch_table.GetDisplayModeProperties2KHR(physicalDevice, display, p… in DispatchGetDisplayModeProperties2KHR()
934 display = layer_data->Unwrap(display); in DispatchGetDisplayModeProperties2KHR()
938 …layer_data->instance_dispatch_table.GetDisplayModeProperties2KHR(physicalDevice, display, pPropert… in DispatchGetDisplayModeProperties2KHR()
941 …pProperties[idx0].displayModeProperties.displayMode = layer_data->WrapNew(pProperties[idx0].displa… in DispatchGetDisplayModeProperties2KHR()
948 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDebugMarkerSetObjectTagEXT() local
949 …if (!wrap_handles) return layer_data->device_dispatch_table.DebugMarkerSetObjectTagEXT(device, pTa… in DispatchDebugMarkerSetObjectTagEXT()
957 VkResult result = layer_data->device_dispatch_table.DebugMarkerSetObjectTagEXT(device, in DispatchDebugMarkerSetObjectTagEXT()
963 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDebugMarkerSetObjectNameEXT() local
964 …if (!wrap_handles) return layer_data->device_dispatch_table.DebugMarkerSetObjectNameEXT(device, pN… in DispatchDebugMarkerSetObjectNameEXT()
972 VkResult result = layer_data->device_dispatch_table.DebugMarkerSetObjectNameEXT( in DispatchDebugMarkerSetObjectNameEXT()
979 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchSetDebugUtilsObjectTagEXT() local
980 …if (!wrap_handles) return layer_data->device_dispatch_table.SetDebugUtilsObjectTagEXT(device, pTag… in DispatchSetDebugUtilsObjectTagEXT()
988 VkResult result = layer_data->device_dispatch_table.SetDebugUtilsObjectTagEXT( in DispatchSetDebugUtilsObjectTagEXT()
994 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchSetDebugUtilsObjectNameEXT() local
995 …if (!wrap_handles) return layer_data->device_dispatch_table.SetDebugUtilsObjectNameEXT(device, pNa… in DispatchSetDebugUtilsObjectNameEXT()
1003 VkResult result = layer_data->device_dispatch_table.SetDebugUtilsObjectNameEXT( in DispatchSetDebugUtilsObjectNameEXT()
1020 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchEnumeratePhysicalDevices() local
1021 …VkResult result = layer_data->instance_dispatch_table.EnumeratePhysicalDevices(instance, pPhysical… in DispatchEnumeratePhysicalDevices()
1030 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFeatures() local
1031 layer_data->instance_dispatch_table.GetPhysicalDeviceFeatures(physicalDevice, pFeatures); in DispatchGetPhysicalDeviceFeatures()
1040 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFormatProperties() local
1041 …layer_data->instance_dispatch_table.GetPhysicalDeviceFormatProperties(physicalDevice, format, pFor… in DispatchGetPhysicalDeviceFormatProperties()
1054 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceImageFormatProperties() local
1055 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceImageFormatProperties(physi… in DispatchGetPhysicalDeviceImageFormatProperties()
1064 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceProperties() local
1065 layer_data->instance_dispatch_table.GetPhysicalDeviceProperties(physicalDevice, pProperties); in DispatchGetPhysicalDeviceProperties()
1074 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceQueueFamilyProperties() local
1075 …layer_data->instance_dispatch_table.GetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueF… in DispatchGetPhysicalDeviceQueueFamilyProperties()
1083 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceMemoryProperties() local
1084 …layer_data->instance_dispatch_table.GetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryPrope… in DispatchGetPhysicalDeviceMemoryProperties()
1092 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchGetInstanceProcAddr() local
1093 …PFN_vkVoidFunction result = layer_data->instance_dispatch_table.GetInstanceProcAddr(instance, pNam… in DispatchGetInstanceProcAddr()
1102 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceProcAddr() local
1103 PFN_vkVoidFunction result = layer_data->device_dispatch_table.GetDeviceProcAddr(device, pName); in DispatchGetDeviceProcAddr()
1126 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceQueue() local
1127 layer_data->device_dispatch_table.GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); in DispatchGetDeviceQueue()
1137 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueSubmit() local
1138 …if (!wrap_handles) return layer_data->device_dispatch_table.QueueSubmit(queue, submitCount, pSubmi… in DispatchQueueSubmit()
1145 WrapPnextChainHandles(layer_data, local_pSubmits[index0].pNext); in DispatchQueueSubmit()
1148 …local_pSubmits[index0].pWaitSemaphores[index1] = layer_data->Unwrap(local_pSubmits[index0].pWaitSe… in DispatchQueueSubmit()
1153 …local_pSubmits[index0].pSignalSemaphores[index1] = layer_data->Unwrap(local_pSubmits[index0].pSign… in DispatchQueueSubmit()
1158 fence = layer_data->Unwrap(fence); in DispatchQueueSubmit()
1160 …VkResult result = layer_data->device_dispatch_table.QueueSubmit(queue, submitCount, (const VkSubmi… in DispatchQueueSubmit()
1170 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueWaitIdle() local
1171 VkResult result = layer_data->device_dispatch_table.QueueWaitIdle(queue); in DispatchQueueWaitIdle()
1179 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDeviceWaitIdle() local
1180 VkResult result = layer_data->device_dispatch_table.DeviceWaitIdle(device); in DispatchDeviceWaitIdle()
1191 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAllocateMemory() local
1192 …if (!wrap_handles) return layer_data->device_dispatch_table.AllocateMemory(device, pAllocateInfo, … in DispatchAllocateMemory()
1197 WrapPnextChainHandles(layer_data, local_pAllocateInfo->pNext); in DispatchAllocateMemory()
1200 …VkResult result = layer_data->device_dispatch_table.AllocateMemory(device, (const VkMemoryAllocate… in DispatchAllocateMemory()
1205 *pMemory = layer_data->WrapNew(*pMemory); in DispatchAllocateMemory()
1215 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchFreeMemory() local
1216 …if (!wrap_handles) return layer_data->device_dispatch_table.FreeMemory(device, memory, pAllocator); in DispatchFreeMemory()
1224 layer_data->device_dispatch_table.FreeMemory(device, memory, pAllocator); in DispatchFreeMemory()
1236 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchMapMemory() local
1237 …if (!wrap_handles) return layer_data->device_dispatch_table.MapMemory(device, memory, offset, size… in DispatchMapMemory()
1239 memory = layer_data->Unwrap(memory); in DispatchMapMemory()
1241 …VkResult result = layer_data->device_dispatch_table.MapMemory(device, memory, offset, size, flags,… in DispatchMapMemory()
1250 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUnmapMemory() local
1251 if (!wrap_handles) return layer_data->device_dispatch_table.UnmapMemory(device, memory); in DispatchUnmapMemory()
1253 memory = layer_data->Unwrap(memory); in DispatchUnmapMemory()
1255 layer_data->device_dispatch_table.UnmapMemory(device, memory); in DispatchUnmapMemory()
1264 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchFlushMappedMemoryRanges() local
1265 …if (!wrap_handles) return layer_data->device_dispatch_table.FlushMappedMemoryRanges(device, memory… in DispatchFlushMappedMemoryRanges()
1273 … local_pMemoryRanges[index0].memory = layer_data->Unwrap(pMemoryRanges[index0].memory); in DispatchFlushMappedMemoryRanges()
1278 …VkResult result = layer_data->device_dispatch_table.FlushMappedMemoryRanges(device, memoryRangeCou… in DispatchFlushMappedMemoryRanges()
1290 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchInvalidateMappedMemoryRanges() local
1291 …if (!wrap_handles) return layer_data->device_dispatch_table.InvalidateMappedMemoryRanges(device, m… in DispatchInvalidateMappedMemoryRanges()
1299 … local_pMemoryRanges[index0].memory = layer_data->Unwrap(pMemoryRanges[index0].memory); in DispatchInvalidateMappedMemoryRanges()
1304 …VkResult result = layer_data->device_dispatch_table.InvalidateMappedMemoryRanges(device, memoryRan… in DispatchInvalidateMappedMemoryRanges()
1316 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceMemoryCommitment() local
1317 …if (!wrap_handles) return layer_data->device_dispatch_table.GetDeviceMemoryCommitment(device, memo… in DispatchGetDeviceMemoryCommitment()
1319 memory = layer_data->Unwrap(memory); in DispatchGetDeviceMemoryCommitment()
1321 …layer_data->device_dispatch_table.GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInByte… in DispatchGetDeviceMemoryCommitment()
1331 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindBufferMemory() local
1332 …if (!wrap_handles) return layer_data->device_dispatch_table.BindBufferMemory(device, buffer, memor… in DispatchBindBufferMemory()
1334 buffer = layer_data->Unwrap(buffer); in DispatchBindBufferMemory()
1335 memory = layer_data->Unwrap(memory); in DispatchBindBufferMemory()
1337 …VkResult result = layer_data->device_dispatch_table.BindBufferMemory(device, buffer, memory, memor… in DispatchBindBufferMemory()
1348 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindImageMemory() local
1349 …if (!wrap_handles) return layer_data->device_dispatch_table.BindImageMemory(device, image, memory,… in DispatchBindImageMemory()
1351 image = layer_data->Unwrap(image); in DispatchBindImageMemory()
1352 memory = layer_data->Unwrap(memory); in DispatchBindImageMemory()
1354 …VkResult result = layer_data->device_dispatch_table.BindImageMemory(device, image, memory, memoryO… in DispatchBindImageMemory()
1364 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetBufferMemoryRequirements() local
1365 …if (!wrap_handles) return layer_data->device_dispatch_table.GetBufferMemoryRequirements(device, bu… in DispatchGetBufferMemoryRequirements()
1367 buffer = layer_data->Unwrap(buffer); in DispatchGetBufferMemoryRequirements()
1369 …layer_data->device_dispatch_table.GetBufferMemoryRequirements(device, buffer, pMemoryRequirements); in DispatchGetBufferMemoryRequirements()
1378 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageMemoryRequirements() local
1379 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageMemoryRequirements(device, ima… in DispatchGetImageMemoryRequirements()
1381 image = layer_data->Unwrap(image); in DispatchGetImageMemoryRequirements()
1383 … layer_data->device_dispatch_table.GetImageMemoryRequirements(device, image, pMemoryRequirements); in DispatchGetImageMemoryRequirements()
1393 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageSparseMemoryRequirements() local
1394 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageSparseMemoryRequirements(devic… in DispatchGetImageSparseMemoryRequirements()
1396 image = layer_data->Unwrap(image); in DispatchGetImageSparseMemoryRequirements()
1398 …layer_data->device_dispatch_table.GetImageSparseMemoryRequirements(device, image, pSparseMemoryReq… in DispatchGetImageSparseMemoryRequirements()
1412 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSparseImageFormatProperties() local
1413 …layer_data->instance_dispatch_table.GetPhysicalDeviceSparseImageFormatProperties(physicalDevice, f… in DispatchGetPhysicalDeviceSparseImageFormatProperties()
1423 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueBindSparse() local
1424 …if (!wrap_handles) return layer_data->device_dispatch_table.QueueBindSparse(queue, bindInfoCount, … in DispatchQueueBindSparse()
1433 …local_pBindInfo[index0].pWaitSemaphores[index1] = layer_data->Unwrap(local_pBindInfo[index0].pWait… in DispatchQueueBindSparse()
1439 …local_pBindInfo[index0].pBufferBinds[index1].buffer = layer_data->Unwrap(pBindInfo[index0].pBuffer… in DispatchQueueBindSparse()
1444 …local_pBindInfo[index0].pBufferBinds[index1].pBinds[index2].memory = layer_data->Unwrap(pBindInfo[… in DispatchQueueBindSparse()
1453 …local_pBindInfo[index0].pImageOpaqueBinds[index1].image = layer_data->Unwrap(pBindInfo[index0].pIm… in DispatchQueueBindSparse()
1458 …al_pBindInfo[index0].pImageOpaqueBinds[index1].pBinds[index2].memory = layer_data->Unwrap(pBindInf… in DispatchQueueBindSparse()
1467 …local_pBindInfo[index0].pImageBinds[index1].image = layer_data->Unwrap(pBindInfo[index0].pImageBin… in DispatchQueueBindSparse()
1472 …local_pBindInfo[index0].pImageBinds[index1].pBinds[index2].memory = layer_data->Unwrap(pBindInfo[i… in DispatchQueueBindSparse()
1480 …local_pBindInfo[index0].pSignalSemaphores[index1] = layer_data->Unwrap(local_pBindInfo[index0].pSi… in DispatchQueueBindSparse()
1485 fence = layer_data->Unwrap(fence); in DispatchQueueBindSparse()
1487 …VkResult result = layer_data->device_dispatch_table.QueueBindSparse(queue, bindInfoCount, (const V… in DispatchQueueBindSparse()
1500 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateFence() local
1501 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateFence(device, pCreateInfo, pAllo… in DispatchCreateFence()
1502 …VkResult result = layer_data->device_dispatch_table.CreateFence(device, pCreateInfo, pAllocator, p… in DispatchCreateFence()
1504 *pFence = layer_data->WrapNew(*pFence); in DispatchCreateFence()
1514 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyFence() local
1515 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyFence(device, fence, pAllocator… in DispatchDestroyFence()
1523 layer_data->device_dispatch_table.DestroyFence(device, fence, pAllocator); in DispatchDestroyFence()
1532 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchResetFences() local
1533 …if (!wrap_handles) return layer_data->device_dispatch_table.ResetFences(device, fenceCount, pFence… in DispatchResetFences()
1539 local_pFences[index0] = layer_data->Unwrap(pFences[index0]); in DispatchResetFences()
1543 …VkResult result = layer_data->device_dispatch_table.ResetFences(device, fenceCount, (const VkFence… in DispatchResetFences()
1553 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetFenceStatus() local
1554 if (!wrap_handles) return layer_data->device_dispatch_table.GetFenceStatus(device, fence); in DispatchGetFenceStatus()
1556 fence = layer_data->Unwrap(fence); in DispatchGetFenceStatus()
1558 VkResult result = layer_data->device_dispatch_table.GetFenceStatus(device, fence); in DispatchGetFenceStatus()
1570 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchWaitForFences() local
1571 …if (!wrap_handles) return layer_data->device_dispatch_table.WaitForFences(device, fenceCount, pFen… in DispatchWaitForFences()
1577 local_pFences[index0] = layer_data->Unwrap(pFences[index0]); in DispatchWaitForFences()
1581 …VkResult result = layer_data->device_dispatch_table.WaitForFences(device, fenceCount, (const VkFen… in DispatchWaitForFences()
1593 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSemaphore() local
1594 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateSemaphore(device, pCreateInfo, p… in DispatchCreateSemaphore()
1595 …VkResult result = layer_data->device_dispatch_table.CreateSemaphore(device, pCreateInfo, pAllocato… in DispatchCreateSemaphore()
1597 *pSemaphore = layer_data->WrapNew(*pSemaphore); in DispatchCreateSemaphore()
1607 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroySemaphore() local
1608 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroySemaphore(device, semaphore, pA… in DispatchDestroySemaphore()
1616 layer_data->device_dispatch_table.DestroySemaphore(device, semaphore, pAllocator); in DispatchDestroySemaphore()
1626 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateEvent() local
1627 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateEvent(device, pCreateInfo, pAllo… in DispatchCreateEvent()
1628 …VkResult result = layer_data->device_dispatch_table.CreateEvent(device, pCreateInfo, pAllocator, p… in DispatchCreateEvent()
1630 *pEvent = layer_data->WrapNew(*pEvent); in DispatchCreateEvent()
1640 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyEvent() local
1641 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyEvent(device, event, pAllocator… in DispatchDestroyEvent()
1649 layer_data->device_dispatch_table.DestroyEvent(device, event, pAllocator); in DispatchDestroyEvent()
1657 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetEventStatus() local
1658 if (!wrap_handles) return layer_data->device_dispatch_table.GetEventStatus(device, event); in DispatchGetEventStatus()
1660 event = layer_data->Unwrap(event); in DispatchGetEventStatus()
1662 VkResult result = layer_data->device_dispatch_table.GetEventStatus(device, event); in DispatchGetEventStatus()
1671 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchSetEvent() local
1672 if (!wrap_handles) return layer_data->device_dispatch_table.SetEvent(device, event); in DispatchSetEvent()
1674 event = layer_data->Unwrap(event); in DispatchSetEvent()
1676 VkResult result = layer_data->device_dispatch_table.SetEvent(device, event); in DispatchSetEvent()
1685 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchResetEvent() local
1686 if (!wrap_handles) return layer_data->device_dispatch_table.ResetEvent(device, event); in DispatchResetEvent()
1688 event = layer_data->Unwrap(event); in DispatchResetEvent()
1690 VkResult result = layer_data->device_dispatch_table.ResetEvent(device, event); in DispatchResetEvent()
1701 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateQueryPool() local
1702 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateQueryPool(device, pCreateInfo, p… in DispatchCreateQueryPool()
1703 …VkResult result = layer_data->device_dispatch_table.CreateQueryPool(device, pCreateInfo, pAllocato… in DispatchCreateQueryPool()
1705 *pQueryPool = layer_data->WrapNew(*pQueryPool); in DispatchCreateQueryPool()
1715 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyQueryPool() local
1716 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyQueryPool(device, queryPool, pA… in DispatchDestroyQueryPool()
1724 layer_data->device_dispatch_table.DestroyQueryPool(device, queryPool, pAllocator); in DispatchDestroyQueryPool()
1738 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetQueryPoolResults() local
1739 …if (!wrap_handles) return layer_data->device_dispatch_table.GetQueryPoolResults(device, queryPool,… in DispatchGetQueryPoolResults()
1741 queryPool = layer_data->Unwrap(queryPool); in DispatchGetQueryPoolResults()
1743 …VkResult result = layer_data->device_dispatch_table.GetQueryPoolResults(device, queryPool, firstQu… in DispatchGetQueryPoolResults()
1754 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateBuffer() local
1755 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateBuffer(device, pCreateInfo, pAll… in DispatchCreateBuffer()
1756 …VkResult result = layer_data->device_dispatch_table.CreateBuffer(device, pCreateInfo, pAllocator, … in DispatchCreateBuffer()
1758 *pBuffer = layer_data->WrapNew(*pBuffer); in DispatchCreateBuffer()
1768 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyBuffer() local
1769 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyBuffer(device, buffer, pAllocat… in DispatchDestroyBuffer()
1777 layer_data->device_dispatch_table.DestroyBuffer(device, buffer, pAllocator); in DispatchDestroyBuffer()
1787 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateBufferView() local
1788 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateBufferView(device, pCreateInfo, … in DispatchCreateBufferView()
1794 local_pCreateInfo->buffer = layer_data->Unwrap(pCreateInfo->buffer); in DispatchCreateBufferView()
1798 …VkResult result = layer_data->device_dispatch_table.CreateBufferView(device, (const VkBufferViewCr… in DispatchCreateBufferView()
1803 *pView = layer_data->WrapNew(*pView); in DispatchCreateBufferView()
1813 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyBufferView() local
1814 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyBufferView(device, bufferView, … in DispatchDestroyBufferView()
1822 layer_data->device_dispatch_table.DestroyBufferView(device, bufferView, pAllocator); in DispatchDestroyBufferView()
1832 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateImage() local
1833 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateImage(device, pCreateInfo, pAllo… in DispatchCreateImage()
1838 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateImage()
1841 …VkResult result = layer_data->device_dispatch_table.CreateImage(device, (const VkImageCreateInfo*)… in DispatchCreateImage()
1846 *pImage = layer_data->WrapNew(*pImage); in DispatchCreateImage()
1856 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyImage() local
1857 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyImage(device, image, pAllocator… in DispatchDestroyImage()
1865 layer_data->device_dispatch_table.DestroyImage(device, image, pAllocator); in DispatchDestroyImage()
1875 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageSubresourceLayout() local
1876 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageSubresourceLayout(device, imag… in DispatchGetImageSubresourceLayout()
1878 image = layer_data->Unwrap(image); in DispatchGetImageSubresourceLayout()
1880 … layer_data->device_dispatch_table.GetImageSubresourceLayout(device, image, pSubresource, pLayout); in DispatchGetImageSubresourceLayout()
1890 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateImageView() local
1891 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateImageView(device, pCreateInfo, p… in DispatchCreateImageView()
1897 local_pCreateInfo->image = layer_data->Unwrap(pCreateInfo->image); in DispatchCreateImageView()
1899 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateImageView()
1902 …VkResult result = layer_data->device_dispatch_table.CreateImageView(device, (const VkImageViewCrea… in DispatchCreateImageView()
1907 *pView = layer_data->WrapNew(*pView); in DispatchCreateImageView()
1917 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyImageView() local
1918 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyImageView(device, imageView, pA… in DispatchDestroyImageView()
1926 layer_data->device_dispatch_table.DestroyImageView(device, imageView, pAllocator); in DispatchDestroyImageView()
1936 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateShaderModule() local
1937 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateShaderModule(device, pCreateInfo… in DispatchCreateShaderModule()
1942 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateShaderModule()
1945 …VkResult result = layer_data->device_dispatch_table.CreateShaderModule(device, (const VkShaderModu… in DispatchCreateShaderModule()
1950 *pShaderModule = layer_data->WrapNew(*pShaderModule); in DispatchCreateShaderModule()
1960 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyShaderModule() local
1961 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyShaderModule(device, shaderModu… in DispatchDestroyShaderModule()
1969 layer_data->device_dispatch_table.DestroyShaderModule(device, shaderModule, pAllocator); in DispatchDestroyShaderModule()
1979 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreatePipelineCache() local
1980 …if (!wrap_handles) return layer_data->device_dispatch_table.CreatePipelineCache(device, pCreateInf… in DispatchCreatePipelineCache()
1981 …VkResult result = layer_data->device_dispatch_table.CreatePipelineCache(device, pCreateInfo, pAllo… in DispatchCreatePipelineCache()
1983 *pPipelineCache = layer_data->WrapNew(*pPipelineCache); in DispatchCreatePipelineCache()
1993 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyPipelineCache() local
1994 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyPipelineCache(device, pipelineC… in DispatchDestroyPipelineCache()
2002 layer_data->device_dispatch_table.DestroyPipelineCache(device, pipelineCache, pAllocator); in DispatchDestroyPipelineCache()
2012 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPipelineCacheData() local
2013 …if (!wrap_handles) return layer_data->device_dispatch_table.GetPipelineCacheData(device, pipelineC… in DispatchGetPipelineCacheData()
2015 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchGetPipelineCacheData()
2017 …VkResult result = layer_data->device_dispatch_table.GetPipelineCacheData(device, pipelineCache, pD… in DispatchGetPipelineCacheData()
2028 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchMergePipelineCaches() local
2029 …if (!wrap_handles) return layer_data->device_dispatch_table.MergePipelineCaches(device, dstCache, … in DispatchMergePipelineCaches()
2032 dstCache = layer_data->Unwrap(dstCache); in DispatchMergePipelineCaches()
2036 local_pSrcCaches[index0] = layer_data->Unwrap(pSrcCaches[index0]); in DispatchMergePipelineCaches()
2040 …VkResult result = layer_data->device_dispatch_table.MergePipelineCaches(device, dstCache, srcCache… in DispatchMergePipelineCaches()
2055 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyPipeline() local
2056 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyPipeline(device, pipeline, pAll… in DispatchDestroyPipeline()
2064 layer_data->device_dispatch_table.DestroyPipeline(device, pipeline, pAllocator); in DispatchDestroyPipeline()
2074 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreatePipelineLayout() local
2075 …if (!wrap_handles) return layer_data->device_dispatch_table.CreatePipelineLayout(device, pCreateIn… in DispatchCreatePipelineLayout()
2082 …local_pCreateInfo->pSetLayouts[index1] = layer_data->Unwrap(local_pCreateInfo->pSetLayouts[index1]… in DispatchCreatePipelineLayout()
2087 …VkResult result = layer_data->device_dispatch_table.CreatePipelineLayout(device, (const VkPipeline… in DispatchCreatePipelineLayout()
2092 *pPipelineLayout = layer_data->WrapNew(*pPipelineLayout); in DispatchCreatePipelineLayout()
2102 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyPipelineLayout() local
2103 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyPipelineLayout(device, pipeline… in DispatchDestroyPipelineLayout()
2111 layer_data->device_dispatch_table.DestroyPipelineLayout(device, pipelineLayout, pAllocator); in DispatchDestroyPipelineLayout()
2121 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSampler() local
2122 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateSampler(device, pCreateInfo, pAl… in DispatchCreateSampler()
2127 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateSampler()
2130 …VkResult result = layer_data->device_dispatch_table.CreateSampler(device, (const VkSamplerCreateIn… in DispatchCreateSampler()
2135 *pSampler = layer_data->WrapNew(*pSampler); in DispatchCreateSampler()
2145 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroySampler() local
2146 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroySampler(device, sampler, pAlloc… in DispatchDestroySampler()
2154 layer_data->device_dispatch_table.DestroySampler(device, sampler, pAllocator); in DispatchDestroySampler()
2164 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateDescriptorSetLayout() local
2165 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateDescriptorSetLayout(device, pCre… in DispatchCreateDescriptorSetLayout()
2174 …local_pCreateInfo->pBindings[index1].pImmutableSamplers[index2] = layer_data->Unwrap(local_pCreate… in DispatchCreateDescriptorSetLayout()
2181 …VkResult result = layer_data->device_dispatch_table.CreateDescriptorSetLayout(device, (const VkDes… in DispatchCreateDescriptorSetLayout()
2186 *pSetLayout = layer_data->WrapNew(*pSetLayout); in DispatchCreateDescriptorSetLayout()
2196 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyDescriptorSetLayout() local
2197 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyDescriptorSetLayout(device, des… in DispatchDestroyDescriptorSetLayout()
2205 …layer_data->device_dispatch_table.DestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocat… in DispatchDestroyDescriptorSetLayout()
2215 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateDescriptorPool() local
2216 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateDescriptorPool(device, pCreateIn… in DispatchCreateDescriptorPool()
2217 …VkResult result = layer_data->device_dispatch_table.CreateDescriptorPool(device, pCreateInfo, pAll… in DispatchCreateDescriptorPool()
2219 *pDescriptorPool = layer_data->WrapNew(*pDescriptorPool); in DispatchCreateDescriptorPool()
2239 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUpdateDescriptorSets() local
2240 …if (!wrap_handles) return layer_data->device_dispatch_table.UpdateDescriptorSets(device, descripto… in DispatchUpdateDescriptorSets()
2248 WrapPnextChainHandles(layer_data, local_pDescriptorWrites[index0].pNext); in DispatchUpdateDescriptorSets()
2250 … local_pDescriptorWrites[index0].dstSet = layer_data->Unwrap(pDescriptorWrites[index0].dstSet); in DispatchUpdateDescriptorSets()
2255 …local_pDescriptorWrites[index0].pImageInfo[index1].sampler = layer_data->Unwrap(pDescriptorWrites[… in DispatchUpdateDescriptorSets()
2258 …local_pDescriptorWrites[index0].pImageInfo[index1].imageView = layer_data->Unwrap(pDescriptorWrite… in DispatchUpdateDescriptorSets()
2265 …local_pDescriptorWrites[index0].pBufferInfo[index1].buffer = layer_data->Unwrap(pDescriptorWrites[… in DispatchUpdateDescriptorSets()
2271 …local_pDescriptorWrites[index0].pTexelBufferView[index1] = layer_data->Unwrap(local_pDescriptorWri… in DispatchUpdateDescriptorSets()
2281 … local_pDescriptorCopies[index0].srcSet = layer_data->Unwrap(pDescriptorCopies[index0].srcSet); in DispatchUpdateDescriptorSets()
2284 … local_pDescriptorCopies[index0].dstSet = layer_data->Unwrap(pDescriptorCopies[index0].dstSet); in DispatchUpdateDescriptorSets()
2289 …layer_data->device_dispatch_table.UpdateDescriptorSets(device, descriptorWriteCount, (const VkWrit… in DispatchUpdateDescriptorSets()
2304 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateFramebuffer() local
2305 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateFramebuffer(device, pCreateInfo,… in DispatchCreateFramebuffer()
2311 local_pCreateInfo->renderPass = layer_data->Unwrap(pCreateInfo->renderPass); in DispatchCreateFramebuffer()
2315 …local_pCreateInfo->pAttachments[index1] = layer_data->Unwrap(local_pCreateInfo->pAttachments[index… in DispatchCreateFramebuffer()
2320 …VkResult result = layer_data->device_dispatch_table.CreateFramebuffer(device, (const VkFramebuffer… in DispatchCreateFramebuffer()
2325 *pFramebuffer = layer_data->WrapNew(*pFramebuffer); in DispatchCreateFramebuffer()
2335 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyFramebuffer() local
2336 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyFramebuffer(device, framebuffer… in DispatchDestroyFramebuffer()
2344 layer_data->device_dispatch_table.DestroyFramebuffer(device, framebuffer, pAllocator); in DispatchDestroyFramebuffer()
2357 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetRenderAreaGranularity() local
2358 …if (!wrap_handles) return layer_data->device_dispatch_table.GetRenderAreaGranularity(device, rende… in DispatchGetRenderAreaGranularity()
2360 renderPass = layer_data->Unwrap(renderPass); in DispatchGetRenderAreaGranularity()
2362 layer_data->device_dispatch_table.GetRenderAreaGranularity(device, renderPass, pGranularity); in DispatchGetRenderAreaGranularity()
2372 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateCommandPool() local
2373 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateCommandPool(device, pCreateInfo,… in DispatchCreateCommandPool()
2374 …VkResult result = layer_data->device_dispatch_table.CreateCommandPool(device, pCreateInfo, pAlloca… in DispatchCreateCommandPool()
2376 *pCommandPool = layer_data->WrapNew(*pCommandPool); in DispatchCreateCommandPool()
2386 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyCommandPool() local
2387 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyCommandPool(device, commandPool… in DispatchDestroyCommandPool()
2395 layer_data->device_dispatch_table.DestroyCommandPool(device, commandPool, pAllocator); in DispatchDestroyCommandPool()
2404 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchResetCommandPool() local
2405 …if (!wrap_handles) return layer_data->device_dispatch_table.ResetCommandPool(device, commandPool, … in DispatchResetCommandPool()
2407 commandPool = layer_data->Unwrap(commandPool); in DispatchResetCommandPool()
2409 … VkResult result = layer_data->device_dispatch_table.ResetCommandPool(device, commandPool, flags); in DispatchResetCommandPool()
2419 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAllocateCommandBuffers() local
2420 …if (!wrap_handles) return layer_data->device_dispatch_table.AllocateCommandBuffers(device, pAlloca… in DispatchAllocateCommandBuffers()
2426 local_pAllocateInfo->commandPool = layer_data->Unwrap(pAllocateInfo->commandPool); in DispatchAllocateCommandBuffers()
2430 …VkResult result = layer_data->device_dispatch_table.AllocateCommandBuffers(device, (const VkComman… in DispatchAllocateCommandBuffers()
2443 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchFreeCommandBuffers() local
2444 …if (!wrap_handles) return layer_data->device_dispatch_table.FreeCommandBuffers(device, commandPool… in DispatchFreeCommandBuffers()
2446 commandPool = layer_data->Unwrap(commandPool); in DispatchFreeCommandBuffers()
2448 …layer_data->device_dispatch_table.FreeCommandBuffers(device, commandPool, commandBufferCount, pCom… in DispatchFreeCommandBuffers()
2456 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchBeginCommandBuffer() local
2457 …if (!wrap_handles) return layer_data->device_dispatch_table.BeginCommandBuffer(commandBuffer, pBeg… in DispatchBeginCommandBuffer()
2464 …local_pBeginInfo->pInheritanceInfo->renderPass = layer_data->Unwrap(pBeginInfo->pInheritanceInfo->… in DispatchBeginCommandBuffer()
2467 …local_pBeginInfo->pInheritanceInfo->framebuffer = layer_data->Unwrap(pBeginInfo->pInheritanceInfo-… in DispatchBeginCommandBuffer()
2472 …VkResult result = layer_data->device_dispatch_table.BeginCommandBuffer(commandBuffer, (const VkCom… in DispatchBeginCommandBuffer()
2482 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchEndCommandBuffer() local
2483 VkResult result = layer_data->device_dispatch_table.EndCommandBuffer(commandBuffer); in DispatchEndCommandBuffer()
2492 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchResetCommandBuffer() local
2493 VkResult result = layer_data->device_dispatch_table.ResetCommandBuffer(commandBuffer, flags); in DispatchResetCommandBuffer()
2503 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindPipeline() local
2504 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindPipeline(commandBuffer, pipelin… in DispatchCmdBindPipeline()
2506 pipeline = layer_data->Unwrap(pipeline); in DispatchCmdBindPipeline()
2508 layer_data->device_dispatch_table.CmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline); in DispatchCmdBindPipeline()
2518 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetViewport() local
2519 …layer_data->device_dispatch_table.CmdSetViewport(commandBuffer, firstViewport, viewportCount, pVie… in DispatchCmdSetViewport()
2529 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetScissor() local
2530 …layer_data->device_dispatch_table.CmdSetScissor(commandBuffer, firstScissor, scissorCount, pScisso… in DispatchCmdSetScissor()
2538 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetLineWidth() local
2539 layer_data->device_dispatch_table.CmdSetLineWidth(commandBuffer, lineWidth); in DispatchCmdSetLineWidth()
2549 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetDepthBias() local
2550 …layer_data->device_dispatch_table.CmdSetDepthBias(commandBuffer, depthBiasConstantFactor, depthBia… in DispatchCmdSetDepthBias()
2558 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetBlendConstants() local
2559 layer_data->device_dispatch_table.CmdSetBlendConstants(commandBuffer, blendConstants); in DispatchCmdSetBlendConstants()
2568 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetDepthBounds() local
2569 …layer_data->device_dispatch_table.CmdSetDepthBounds(commandBuffer, minDepthBounds, maxDepthBounds); in DispatchCmdSetDepthBounds()
2578 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetStencilCompareMask() local
2579 … layer_data->device_dispatch_table.CmdSetStencilCompareMask(commandBuffer, faceMask, compareMask); in DispatchCmdSetStencilCompareMask()
2588 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetStencilWriteMask() local
2589 layer_data->device_dispatch_table.CmdSetStencilWriteMask(commandBuffer, faceMask, writeMask); in DispatchCmdSetStencilWriteMask()
2598 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetStencilReference() local
2599 layer_data->device_dispatch_table.CmdSetStencilReference(commandBuffer, faceMask, reference); in DispatchCmdSetStencilReference()
2613 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindDescriptorSets() local
2614 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindDescriptorSets(commandBuffer, p… in DispatchCmdBindDescriptorSets()
2617 layout = layer_data->Unwrap(layout); in DispatchCmdBindDescriptorSets()
2621 local_pDescriptorSets[index0] = layer_data->Unwrap(pDescriptorSets[index0]); in DispatchCmdBindDescriptorSets()
2625 …layer_data->device_dispatch_table.CmdBindDescriptorSets(commandBuffer, pipelineBindPoint, layout, … in DispatchCmdBindDescriptorSets()
2636 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindIndexBuffer() local
2637 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindIndexBuffer(commandBuffer, buff… in DispatchCmdBindIndexBuffer()
2639 buffer = layer_data->Unwrap(buffer); in DispatchCmdBindIndexBuffer()
2641 layer_data->device_dispatch_table.CmdBindIndexBuffer(commandBuffer, buffer, offset, indexType); in DispatchCmdBindIndexBuffer()
2652 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindVertexBuffers() local
2653 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindVertexBuffers(commandBuffer, fi… in DispatchCmdBindVertexBuffers()
2659 local_pBuffers[index0] = layer_data->Unwrap(pBuffers[index0]); in DispatchCmdBindVertexBuffers()
2663 …layer_data->device_dispatch_table.CmdBindVertexBuffers(commandBuffer, firstBinding, bindingCount, … in DispatchCmdBindVertexBuffers()
2675 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDraw() local
2676 …layer_data->device_dispatch_table.CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, … in DispatchCmdDraw()
2688 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndexed() local
2689 …layer_data->device_dispatch_table.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIn… in DispatchCmdDrawIndexed()
2700 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndirect() local
2701 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndirect(commandBuffer, buffer,… in DispatchCmdDrawIndirect()
2703 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndirect()
2705 …layer_data->device_dispatch_table.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride… in DispatchCmdDrawIndirect()
2716 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndexedIndirect() local
2717 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndexedIndirect(commandBuffer, … in DispatchCmdDrawIndexedIndirect()
2719 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndexedIndirect()
2721 …layer_data->device_dispatch_table.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount,… in DispatchCmdDrawIndexedIndirect()
2731 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDispatch() local
2732 …layer_data->device_dispatch_table.CmdDispatch(commandBuffer, groupCountX, groupCountY, groupCountZ… in DispatchCmdDispatch()
2741 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDispatchIndirect() local
2742 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDispatchIndirect(commandBuffer, buf… in DispatchCmdDispatchIndirect()
2744 buffer = layer_data->Unwrap(buffer); in DispatchCmdDispatchIndirect()
2746 layer_data->device_dispatch_table.CmdDispatchIndirect(commandBuffer, buffer, offset); in DispatchCmdDispatchIndirect()
2757 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyBuffer() local
2758 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyBuffer(commandBuffer, srcBuffer… in DispatchCmdCopyBuffer()
2760 srcBuffer = layer_data->Unwrap(srcBuffer); in DispatchCmdCopyBuffer()
2761 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdCopyBuffer()
2763 …layer_data->device_dispatch_table.CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, … in DispatchCmdCopyBuffer()
2776 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyImage() local
2777 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyImage(commandBuffer, srcImage, … in DispatchCmdCopyImage()
2779 srcImage = layer_data->Unwrap(srcImage); in DispatchCmdCopyImage()
2780 dstImage = layer_data->Unwrap(dstImage); in DispatchCmdCopyImage()
2782 …layer_data->device_dispatch_table.CmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, … in DispatchCmdCopyImage()
2796 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBlitImage() local
2797 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBlitImage(commandBuffer, srcImage, … in DispatchCmdBlitImage()
2799 srcImage = layer_data->Unwrap(srcImage); in DispatchCmdBlitImage()
2800 dstImage = layer_data->Unwrap(dstImage); in DispatchCmdBlitImage()
2802 …layer_data->device_dispatch_table.CmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, … in DispatchCmdBlitImage()
2814 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyBufferToImage() local
2815 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyBufferToImage(commandBuffer, sr… in DispatchCmdCopyBufferToImage()
2817 srcBuffer = layer_data->Unwrap(srcBuffer); in DispatchCmdCopyBufferToImage()
2818 dstImage = layer_data->Unwrap(dstImage); in DispatchCmdCopyBufferToImage()
2820 …layer_data->device_dispatch_table.CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImag… in DispatchCmdCopyBufferToImage()
2832 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyImageToBuffer() local
2833 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyImageToBuffer(commandBuffer, sr… in DispatchCmdCopyImageToBuffer()
2835 srcImage = layer_data->Unwrap(srcImage); in DispatchCmdCopyImageToBuffer()
2836 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdCopyImageToBuffer()
2838 …layer_data->device_dispatch_table.CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, ds… in DispatchCmdCopyImageToBuffer()
2849 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdUpdateBuffer() local
2850 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdUpdateBuffer(commandBuffer, dstBuff… in DispatchCmdUpdateBuffer()
2852 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdUpdateBuffer()
2854 …layer_data->device_dispatch_table.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, p… in DispatchCmdUpdateBuffer()
2865 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdFillBuffer() local
2866 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdFillBuffer(commandBuffer, dstBuffer… in DispatchCmdFillBuffer()
2868 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdFillBuffer()
2870 … layer_data->device_dispatch_table.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); in DispatchCmdFillBuffer()
2882 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdClearColorImage() local
2883 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdClearColorImage(commandBuffer, imag… in DispatchCmdClearColorImage()
2885 image = layer_data->Unwrap(image); in DispatchCmdClearColorImage()
2887 …layer_data->device_dispatch_table.CmdClearColorImage(commandBuffer, image, imageLayout, pColor, ra… in DispatchCmdClearColorImage()
2899 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdClearDepthStencilImage() local
2900 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdClearDepthStencilImage(commandBuffe… in DispatchCmdClearDepthStencilImage()
2902 image = layer_data->Unwrap(image); in DispatchCmdClearDepthStencilImage()
2904 …layer_data->device_dispatch_table.CmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDe… in DispatchCmdClearDepthStencilImage()
2915 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdClearAttachments() local
2916 …layer_data->device_dispatch_table.CmdClearAttachments(commandBuffer, attachmentCount, pAttachments… in DispatchCmdClearAttachments()
2929 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdResolveImage() local
2930 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdResolveImage(commandBuffer, srcImag… in DispatchCmdResolveImage()
2932 srcImage = layer_data->Unwrap(srcImage); in DispatchCmdResolveImage()
2933 dstImage = layer_data->Unwrap(dstImage); in DispatchCmdResolveImage()
2935 …layer_data->device_dispatch_table.CmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImag… in DispatchCmdResolveImage()
2944 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetEvent() local
2945 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdSetEvent(commandBuffer, event, stag… in DispatchCmdSetEvent()
2947 event = layer_data->Unwrap(event); in DispatchCmdSetEvent()
2949 layer_data->device_dispatch_table.CmdSetEvent(commandBuffer, event, stageMask); in DispatchCmdSetEvent()
2958 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdResetEvent() local
2959 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdResetEvent(commandBuffer, event, st… in DispatchCmdResetEvent()
2961 event = layer_data->Unwrap(event); in DispatchCmdResetEvent()
2963 layer_data->device_dispatch_table.CmdResetEvent(commandBuffer, event, stageMask); in DispatchCmdResetEvent()
2980 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdWaitEvents() local
2981 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdWaitEvents(commandBuffer, eventCoun… in DispatchCmdWaitEvents()
2989 local_pEvents[index0] = layer_data->Unwrap(pEvents[index0]); in DispatchCmdWaitEvents()
2997 …local_pBufferMemoryBarriers[index0].buffer = layer_data->Unwrap(pBufferMemoryBarriers[index0].buff… in DispatchCmdWaitEvents()
3006 … local_pImageMemoryBarriers[index0].image = layer_data->Unwrap(pImageMemoryBarriers[index0].image); in DispatchCmdWaitEvents()
3011 …layer_data->device_dispatch_table.CmdWaitEvents(commandBuffer, eventCount, (const VkEvent*)local_p… in DispatchCmdWaitEvents()
3034 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdPipelineBarrier() local
3035 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdPipelineBarrier(commandBuffer, srcS… in DispatchCmdPipelineBarrier()
3044 …local_pBufferMemoryBarriers[index0].buffer = layer_data->Unwrap(pBufferMemoryBarriers[index0].buff… in DispatchCmdPipelineBarrier()
3053 … local_pImageMemoryBarriers[index0].image = layer_data->Unwrap(pImageMemoryBarriers[index0].image); in DispatchCmdPipelineBarrier()
3058 …layer_data->device_dispatch_table.CmdPipelineBarrier(commandBuffer, srcStageMask, dstStageMask, de… in DispatchCmdPipelineBarrier()
3073 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginQuery() local
3074 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginQuery(commandBuffer, queryPool… in DispatchCmdBeginQuery()
3076 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdBeginQuery()
3078 layer_data->device_dispatch_table.CmdBeginQuery(commandBuffer, queryPool, query, flags); in DispatchCmdBeginQuery()
3087 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndQuery() local
3088 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdEndQuery(commandBuffer, queryPool, … in DispatchCmdEndQuery()
3090 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdEndQuery()
3092 layer_data->device_dispatch_table.CmdEndQuery(commandBuffer, queryPool, query); in DispatchCmdEndQuery()
3102 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdResetQueryPool() local
3103 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdResetQueryPool(commandBuffer, query… in DispatchCmdResetQueryPool()
3105 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdResetQueryPool()
3107 …layer_data->device_dispatch_table.CmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCou… in DispatchCmdResetQueryPool()
3117 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdWriteTimestamp() local
3118 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdWriteTimestamp(commandBuffer, pipel… in DispatchCmdWriteTimestamp()
3120 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdWriteTimestamp()
3122 …layer_data->device_dispatch_table.CmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query… in DispatchCmdWriteTimestamp()
3136 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyQueryPoolResults() local
3137 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyQueryPoolResults(commandBuffer,… in DispatchCmdCopyQueryPoolResults()
3139 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdCopyQueryPoolResults()
3140 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdCopyQueryPoolResults()
3142 …layer_data->device_dispatch_table.CmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, qu… in DispatchCmdCopyQueryPoolResults()
3154 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdPushConstants() local
3155 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdPushConstants(commandBuffer, layout… in DispatchCmdPushConstants()
3157 layout = layer_data->Unwrap(layout); in DispatchCmdPushConstants()
3159 …layer_data->device_dispatch_table.CmdPushConstants(commandBuffer, layout, stageFlags, offset, size… in DispatchCmdPushConstants()
3168 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginRenderPass() local
3169 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginRenderPass(commandBuffer, pRen… in DispatchCmdBeginRenderPass()
3175 … local_pRenderPassBegin->renderPass = layer_data->Unwrap(pRenderPassBegin->renderPass); in DispatchCmdBeginRenderPass()
3178 … local_pRenderPassBegin->framebuffer = layer_data->Unwrap(pRenderPassBegin->framebuffer); in DispatchCmdBeginRenderPass()
3180 WrapPnextChainHandles(layer_data, local_pRenderPassBegin->pNext); in DispatchCmdBeginRenderPass()
3183 …layer_data->device_dispatch_table.CmdBeginRenderPass(commandBuffer, (const VkRenderPassBeginInfo*)… in DispatchCmdBeginRenderPass()
3193 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdNextSubpass() local
3194 layer_data->device_dispatch_table.CmdNextSubpass(commandBuffer, contents); in DispatchCmdNextSubpass()
3201 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndRenderPass() local
3202 layer_data->device_dispatch_table.CmdEndRenderPass(commandBuffer); in DispatchCmdEndRenderPass()
3211 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdExecuteCommands() local
3212 …layer_data->device_dispatch_table.CmdExecuteCommands(commandBuffer, commandBufferCount, pCommandBu… in DispatchCmdExecuteCommands()
3223 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindBufferMemory2() local
3224 …if (!wrap_handles) return layer_data->device_dispatch_table.BindBufferMemory2(device, bindInfoCoun… in DispatchBindBufferMemory2()
3232 local_pBindInfos[index0].buffer = layer_data->Unwrap(pBindInfos[index0].buffer); in DispatchBindBufferMemory2()
3235 local_pBindInfos[index0].memory = layer_data->Unwrap(pBindInfos[index0].memory); in DispatchBindBufferMemory2()
3240 …VkResult result = layer_data->device_dispatch_table.BindBufferMemory2(device, bindInfoCount, (cons… in DispatchBindBufferMemory2()
3252 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindImageMemory2() local
3253 …if (!wrap_handles) return layer_data->device_dispatch_table.BindImageMemory2(device, bindInfoCount… in DispatchBindImageMemory2()
3260 WrapPnextChainHandles(layer_data, local_pBindInfos[index0].pNext); in DispatchBindImageMemory2()
3262 local_pBindInfos[index0].image = layer_data->Unwrap(pBindInfos[index0].image); in DispatchBindImageMemory2()
3265 local_pBindInfos[index0].memory = layer_data->Unwrap(pBindInfos[index0].memory); in DispatchBindImageMemory2()
3270 …VkResult result = layer_data->device_dispatch_table.BindImageMemory2(device, bindInfoCount, (const… in DispatchBindImageMemory2()
3284 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceGroupPeerMemoryFeatures() local
3285 …layer_data->device_dispatch_table.GetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceI… in DispatchGetDeviceGroupPeerMemoryFeatures()
3293 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetDeviceMask() local
3294 layer_data->device_dispatch_table.CmdSetDeviceMask(commandBuffer, deviceMask); in DispatchCmdSetDeviceMask()
3307 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDispatchBase() local
3308 …layer_data->device_dispatch_table.CmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroup… in DispatchCmdDispatchBase()
3317 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchEnumeratePhysicalDeviceGroups() local
3318 …VkResult result = layer_data->instance_dispatch_table.EnumeratePhysicalDeviceGroups(instance, pPhy… in DispatchEnumeratePhysicalDeviceGroups()
3328 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageMemoryRequirements2() local
3329 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageMemoryRequirements2(device, pI… in DispatchGetImageMemoryRequirements2()
3335 local_pInfo->image = layer_data->Unwrap(pInfo->image); in DispatchGetImageMemoryRequirements2()
3339 …layer_data->device_dispatch_table.GetImageMemoryRequirements2(device, (const VkImageMemoryRequirem… in DispatchGetImageMemoryRequirements2()
3350 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetBufferMemoryRequirements2() local
3351 …if (!wrap_handles) return layer_data->device_dispatch_table.GetBufferMemoryRequirements2(device, p… in DispatchGetBufferMemoryRequirements2()
3357 local_pInfo->buffer = layer_data->Unwrap(pInfo->buffer); in DispatchGetBufferMemoryRequirements2()
3361 …layer_data->device_dispatch_table.GetBufferMemoryRequirements2(device, (const VkBufferMemoryRequir… in DispatchGetBufferMemoryRequirements2()
3373 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageSparseMemoryRequirements2() local
3374 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageSparseMemoryRequirements2(devi… in DispatchGetImageSparseMemoryRequirements2()
3380 local_pInfo->image = layer_data->Unwrap(pInfo->image); in DispatchGetImageSparseMemoryRequirements2()
3384 …layer_data->device_dispatch_table.GetImageSparseMemoryRequirements2(device, (const VkImageSparseMe… in DispatchGetImageSparseMemoryRequirements2()
3394 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFeatures2() local
3395 layer_data->instance_dispatch_table.GetPhysicalDeviceFeatures2(physicalDevice, pFeatures); in DispatchGetPhysicalDeviceFeatures2()
3403 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceProperties2() local
3404 layer_data->instance_dispatch_table.GetPhysicalDeviceProperties2(physicalDevice, pProperties); in DispatchGetPhysicalDeviceProperties2()
3413 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFormatProperties2() local
3414 …layer_data->instance_dispatch_table.GetPhysicalDeviceFormatProperties2(physicalDevice, format, pFo… in DispatchGetPhysicalDeviceFormatProperties2()
3423 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceImageFormatProperties2() local
3424 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceImageFormatProperti… in DispatchGetPhysicalDeviceImageFormatProperties2()
3429 WrapPnextChainHandles(layer_data, local_pImageFormatInfo->pNext); in DispatchGetPhysicalDeviceImageFormatProperties2()
3432 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceImageFormatProperties2(phys… in DispatchGetPhysicalDeviceImageFormatProperties2()
3444 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceQueueFamilyProperties2() local
3445 …layer_data->instance_dispatch_table.GetPhysicalDeviceQueueFamilyProperties2(physicalDevice, pQueue… in DispatchGetPhysicalDeviceQueueFamilyProperties2()
3453 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceMemoryProperties2() local
3454 …layer_data->instance_dispatch_table.GetPhysicalDeviceMemoryProperties2(physicalDevice, pMemoryProp… in DispatchGetPhysicalDeviceMemoryProperties2()
3464 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSparseImageFormatProperties2() local
3465 …layer_data->instance_dispatch_table.GetPhysicalDeviceSparseImageFormatProperties2(physicalDevice, … in DispatchGetPhysicalDeviceSparseImageFormatProperties2()
3474 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchTrimCommandPool() local
3475 …if (!wrap_handles) return layer_data->device_dispatch_table.TrimCommandPool(device, commandPool, f… in DispatchTrimCommandPool()
3477 commandPool = layer_data->Unwrap(commandPool); in DispatchTrimCommandPool()
3479 layer_data->device_dispatch_table.TrimCommandPool(device, commandPool, flags); in DispatchTrimCommandPool()
3488 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceQueue2() local
3489 layer_data->device_dispatch_table.GetDeviceQueue2(device, pQueueInfo, pQueue); in DispatchGetDeviceQueue2()
3499 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSamplerYcbcrConversion() local
3500 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateSamplerYcbcrConversion(device, p… in DispatchCreateSamplerYcbcrConversion()
3505 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateSamplerYcbcrConversion()
3508 …VkResult result = layer_data->device_dispatch_table.CreateSamplerYcbcrConversion(device, (const Vk… in DispatchCreateSamplerYcbcrConversion()
3513 *pYcbcrConversion = layer_data->WrapNew(*pYcbcrConversion); in DispatchCreateSamplerYcbcrConversion()
3523 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroySamplerYcbcrConversion() local
3524 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroySamplerYcbcrConversion(device, … in DispatchDestroySamplerYcbcrConversion()
3532 …layer_data->device_dispatch_table.DestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocato… in DispatchDestroySamplerYcbcrConversion()
3547 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalBufferProperties() local
3548 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalBufferProperties(physicalDevice, pExt… in DispatchGetPhysicalDeviceExternalBufferProperties()
3557 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalFenceProperties() local
3558 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalFenceProperties(physicalDevice, pExte… in DispatchGetPhysicalDeviceExternalFenceProperties()
3567 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalSemaphoreProperties() local
3568 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalSemaphoreProperties(physicalDevice, p… in DispatchGetPhysicalDeviceExternalSemaphoreProperties()
3577 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDescriptorSetLayoutSupport() local
3578 …if (!wrap_handles) return layer_data->device_dispatch_table.GetDescriptorSetLayoutSupport(device, … in DispatchGetDescriptorSetLayoutSupport()
3587 …local_pCreateInfo->pBindings[index1].pImmutableSamplers[index2] = layer_data->Unwrap(local_pCreate… in DispatchGetDescriptorSetLayoutSupport()
3594 …layer_data->device_dispatch_table.GetDescriptorSetLayoutSupport(device, (const VkDescriptorSetLayo… in DispatchGetDescriptorSetLayoutSupport()
3605 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchDestroySurfaceKHR() local
3606 …if (!wrap_handles) return layer_data->instance_dispatch_table.DestroySurfaceKHR(instance, surface,… in DispatchDestroySurfaceKHR()
3614 layer_data->instance_dispatch_table.DestroySurfaceKHR(instance, surface, pAllocator); in DispatchDestroySurfaceKHR()
3624 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceSupportKHR() local
3625 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceSupportKHR(p… in DispatchGetPhysicalDeviceSurfaceSupportKHR()
3627 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDeviceSurfaceSupportKHR()
3629 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceSupportKHR(physicalD… in DispatchGetPhysicalDeviceSurfaceSupportKHR()
3639 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceCapabilitiesKHR() local
3640 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities… in DispatchGetPhysicalDeviceSurfaceCapabilitiesKHR()
3642 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDeviceSurfaceCapabilitiesKHR()
3644 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilitiesKHR(phys… in DispatchGetPhysicalDeviceSurfaceCapabilitiesKHR()
3655 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceFormatsKHR() local
3656 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceFormatsKHR(p… in DispatchGetPhysicalDeviceSurfaceFormatsKHR()
3658 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDeviceSurfaceFormatsKHR()
3660 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceFormatsKHR(physicalD… in DispatchGetPhysicalDeviceSurfaceFormatsKHR()
3671 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfacePresentModesKHR() local
3672 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfacePresentModes… in DispatchGetPhysicalDeviceSurfacePresentModesKHR()
3674 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDeviceSurfacePresentModesKHR()
3676 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfacePresentModesKHR(phys… in DispatchGetPhysicalDeviceSurfacePresentModesKHR()
3695 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAcquireNextImageKHR() local
3696 …if (!wrap_handles) return layer_data->device_dispatch_table.AcquireNextImageKHR(device, swapchain,… in DispatchAcquireNextImageKHR()
3698 swapchain = layer_data->Unwrap(swapchain); in DispatchAcquireNextImageKHR()
3699 semaphore = layer_data->Unwrap(semaphore); in DispatchAcquireNextImageKHR()
3700 fence = layer_data->Unwrap(fence); in DispatchAcquireNextImageKHR()
3702 …VkResult result = layer_data->device_dispatch_table.AcquireNextImageKHR(device, swapchain, timeout… in DispatchAcquireNextImageKHR()
3713 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceGroupPresentCapabilitiesKHR() local
3714 …VkResult result = layer_data->device_dispatch_table.GetDeviceGroupPresentCapabilitiesKHR(device, p… in DispatchGetDeviceGroupPresentCapabilitiesKHR()
3724 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceGroupSurfacePresentModesKHR() local
3725 …if (!wrap_handles) return layer_data->device_dispatch_table.GetDeviceGroupSurfacePresentModesKHR(d… in DispatchGetDeviceGroupSurfacePresentModesKHR()
3727 surface = layer_data->Unwrap(surface); in DispatchGetDeviceGroupSurfacePresentModesKHR()
3729 …VkResult result = layer_data->device_dispatch_table.GetDeviceGroupSurfacePresentModesKHR(device, s… in DispatchGetDeviceGroupSurfacePresentModesKHR()
3740 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDevicePresentRectanglesKHR() local
3741 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDevicePresentRectanglesKH… in DispatchGetPhysicalDevicePresentRectanglesKHR()
3743 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDevicePresentRectanglesKHR()
3745 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDevicePresentRectanglesKHR(physic… in DispatchGetPhysicalDevicePresentRectanglesKHR()
3755 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAcquireNextImage2KHR() local
3756 …if (!wrap_handles) return layer_data->device_dispatch_table.AcquireNextImage2KHR(device, pAcquireI… in DispatchAcquireNextImage2KHR()
3762 local_pAcquireInfo->swapchain = layer_data->Unwrap(pAcquireInfo->swapchain); in DispatchAcquireNextImage2KHR()
3765 local_pAcquireInfo->semaphore = layer_data->Unwrap(pAcquireInfo->semaphore); in DispatchAcquireNextImage2KHR()
3768 local_pAcquireInfo->fence = layer_data->Unwrap(pAcquireInfo->fence); in DispatchAcquireNextImage2KHR()
3772 …VkResult result = layer_data->device_dispatch_table.AcquireNextImage2KHR(device, (const VkAcquireN… in DispatchAcquireNextImage2KHR()
3794 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchCreateDisplayModeKHR() local
3795 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateDisplayModeKHR(physicalDevice,… in DispatchCreateDisplayModeKHR()
3797 display = layer_data->Unwrap(display); in DispatchCreateDisplayModeKHR()
3799 …VkResult result = layer_data->instance_dispatch_table.CreateDisplayModeKHR(physicalDevice, display… in DispatchCreateDisplayModeKHR()
3801 *pMode = layer_data->WrapNew(*pMode); in DispatchCreateDisplayModeKHR()
3812 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetDisplayPlaneCapabilitiesKHR() local
3813 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetDisplayPlaneCapabilitiesKHR(physi… in DispatchGetDisplayPlaneCapabilitiesKHR()
3815 mode = layer_data->Unwrap(mode); in DispatchGetDisplayPlaneCapabilitiesKHR()
3817 …VkResult result = layer_data->instance_dispatch_table.GetDisplayPlaneCapabilitiesKHR(physicalDevic… in DispatchGetDisplayPlaneCapabilitiesKHR()
3828 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateDisplayPlaneSurfaceKHR() local
3829 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateDisplayPlaneSurfaceKHR(instanc… in DispatchCreateDisplayPlaneSurfaceKHR()
3835 local_pCreateInfo->displayMode = layer_data->Unwrap(pCreateInfo->displayMode); in DispatchCreateDisplayPlaneSurfaceKHR()
3839 …VkResult result = layer_data->instance_dispatch_table.CreateDisplayPlaneSurfaceKHR(instance, (cons… in DispatchCreateDisplayPlaneSurfaceKHR()
3844 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateDisplayPlaneSurfaceKHR()
3859 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateXlibSurfaceKHR() local
3860 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateXlibSurfaceKHR(instance, pCrea… in DispatchCreateXlibSurfaceKHR()
3861 …VkResult result = layer_data->instance_dispatch_table.CreateXlibSurfaceKHR(instance, pCreateInfo, … in DispatchCreateXlibSurfaceKHR()
3863 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateXlibSurfaceKHR()
3877 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceXlibPresentationSupportKHR() local
3878 …VkBool32 result = layer_data->instance_dispatch_table.GetPhysicalDeviceXlibPresentationSupportKHR(… in DispatchGetPhysicalDeviceXlibPresentationSupportKHR()
3892 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateXcbSurfaceKHR() local
3893 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateXcbSurfaceKHR(instance, pCreat… in DispatchCreateXcbSurfaceKHR()
3894 …VkResult result = layer_data->instance_dispatch_table.CreateXcbSurfaceKHR(instance, pCreateInfo, p… in DispatchCreateXcbSurfaceKHR()
3896 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateXcbSurfaceKHR()
3910 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceXcbPresentationSupportKHR() local
3911 …VkBool32 result = layer_data->instance_dispatch_table.GetPhysicalDeviceXcbPresentationSupportKHR(p… in DispatchGetPhysicalDeviceXcbPresentationSupportKHR()
3925 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateWaylandSurfaceKHR() local
3926 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateWaylandSurfaceKHR(instance, pC… in DispatchCreateWaylandSurfaceKHR()
3927 …VkResult result = layer_data->instance_dispatch_table.CreateWaylandSurfaceKHR(instance, pCreateInf… in DispatchCreateWaylandSurfaceKHR()
3929 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateWaylandSurfaceKHR()
3942 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceWaylandPresentationSupportKHR() local
3943 …VkBool32 result = layer_data->instance_dispatch_table.GetPhysicalDeviceWaylandPresentationSupportK… in DispatchGetPhysicalDeviceWaylandPresentationSupportKHR()
3957 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateAndroidSurfaceKHR() local
3958 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateAndroidSurfaceKHR(instance, pC… in DispatchCreateAndroidSurfaceKHR()
3959 …VkResult result = layer_data->instance_dispatch_table.CreateAndroidSurfaceKHR(instance, pCreateInf… in DispatchCreateAndroidSurfaceKHR()
3961 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateAndroidSurfaceKHR()
3975 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateWin32SurfaceKHR() local
3976 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateWin32SurfaceKHR(instance, pCre… in DispatchCreateWin32SurfaceKHR()
3977 …VkResult result = layer_data->instance_dispatch_table.CreateWin32SurfaceKHR(instance, pCreateInfo,… in DispatchCreateWin32SurfaceKHR()
3979 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateWin32SurfaceKHR()
3991 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceWin32PresentationSupportKHR() local
3992 …VkBool32 result = layer_data->instance_dispatch_table.GetPhysicalDeviceWin32PresentationSupportKHR… in DispatchGetPhysicalDeviceWin32PresentationSupportKHR()
4002 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFeatures2KHR() local
4003 layer_data->instance_dispatch_table.GetPhysicalDeviceFeatures2KHR(physicalDevice, pFeatures); in DispatchGetPhysicalDeviceFeatures2KHR()
4011 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceProperties2KHR() local
4012 … layer_data->instance_dispatch_table.GetPhysicalDeviceProperties2KHR(physicalDevice, pProperties); in DispatchGetPhysicalDeviceProperties2KHR()
4021 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceFormatProperties2KHR() local
4022 …layer_data->instance_dispatch_table.GetPhysicalDeviceFormatProperties2KHR(physicalDevice, format, … in DispatchGetPhysicalDeviceFormatProperties2KHR()
4031 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceImageFormatProperties2KHR() local
4032 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceImageFormatProperti… in DispatchGetPhysicalDeviceImageFormatProperties2KHR()
4037 WrapPnextChainHandles(layer_data, local_pImageFormatInfo->pNext); in DispatchGetPhysicalDeviceImageFormatProperties2KHR()
4040 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceImageFormatProperties2KHR(p… in DispatchGetPhysicalDeviceImageFormatProperties2KHR()
4052 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceQueueFamilyProperties2KHR() local
4053 …layer_data->instance_dispatch_table.GetPhysicalDeviceQueueFamilyProperties2KHR(physicalDevice, pQu… in DispatchGetPhysicalDeviceQueueFamilyProperties2KHR()
4061 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceMemoryProperties2KHR() local
4062 …layer_data->instance_dispatch_table.GetPhysicalDeviceMemoryProperties2KHR(physicalDevice, pMemoryP… in DispatchGetPhysicalDeviceMemoryProperties2KHR()
4072 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSparseImageFormatProperties2KHR() local
4073 …layer_data->instance_dispatch_table.GetPhysicalDeviceSparseImageFormatProperties2KHR(physicalDevic… in DispatchGetPhysicalDeviceSparseImageFormatProperties2KHR()
4084 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceGroupPeerMemoryFeaturesKHR() local
4085 …layer_data->device_dispatch_table.GetDeviceGroupPeerMemoryFeaturesKHR(device, heapIndex, localDevi… in DispatchGetDeviceGroupPeerMemoryFeaturesKHR()
4093 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetDeviceMaskKHR() local
4094 layer_data->device_dispatch_table.CmdSetDeviceMaskKHR(commandBuffer, deviceMask); in DispatchCmdSetDeviceMaskKHR()
4107 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDispatchBaseKHR() local
4108 …layer_data->device_dispatch_table.CmdDispatchBaseKHR(commandBuffer, baseGroupX, baseGroupY, baseGr… in DispatchCmdDispatchBaseKHR()
4117 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchTrimCommandPoolKHR() local
4118 …if (!wrap_handles) return layer_data->device_dispatch_table.TrimCommandPoolKHR(device, commandPool… in DispatchTrimCommandPoolKHR()
4120 commandPool = layer_data->Unwrap(commandPool); in DispatchTrimCommandPoolKHR()
4122 layer_data->device_dispatch_table.TrimCommandPoolKHR(device, commandPool, flags); in DispatchTrimCommandPoolKHR()
4131 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchEnumeratePhysicalDeviceGroupsKHR() local
4132 …VkResult result = layer_data->instance_dispatch_table.EnumeratePhysicalDeviceGroupsKHR(instance, p… in DispatchEnumeratePhysicalDeviceGroupsKHR()
4142 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalBufferPropertiesKHR() local
4143 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalBufferPropertiesKHR(physicalDevice, p… in DispatchGetPhysicalDeviceExternalBufferPropertiesKHR()
4154 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryWin32HandleKHR() local
4155 …if (!wrap_handles) return layer_data->device_dispatch_table.GetMemoryWin32HandleKHR(device, pGetWi… in DispatchGetMemoryWin32HandleKHR()
4161 local_pGetWin32HandleInfo->memory = layer_data->Unwrap(pGetWin32HandleInfo->memory); in DispatchGetMemoryWin32HandleKHR()
4165 …VkResult result = layer_data->device_dispatch_table.GetMemoryWin32HandleKHR(device, (const VkMemor… in DispatchGetMemoryWin32HandleKHR()
4181 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryWin32HandlePropertiesKHR() local
4182 …VkResult result = layer_data->device_dispatch_table.GetMemoryWin32HandlePropertiesKHR(device, hand… in DispatchGetMemoryWin32HandlePropertiesKHR()
4193 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryFdKHR() local
4194 …if (!wrap_handles) return layer_data->device_dispatch_table.GetMemoryFdKHR(device, pGetFdInfo, pFd… in DispatchGetMemoryFdKHR()
4200 local_pGetFdInfo->memory = layer_data->Unwrap(pGetFdInfo->memory); in DispatchGetMemoryFdKHR()
4204 …VkResult result = layer_data->device_dispatch_table.GetMemoryFdKHR(device, (const VkMemoryGetFdInf… in DispatchGetMemoryFdKHR()
4217 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryFdPropertiesKHR() local
4218 …VkResult result = layer_data->device_dispatch_table.GetMemoryFdPropertiesKHR(device, handleType, f… in DispatchGetMemoryFdPropertiesKHR()
4228 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalSemaphorePropertiesKHR() local
4229 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalSemaphorePropertiesKHR(physicalDevice… in DispatchGetPhysicalDeviceExternalSemaphorePropertiesKHR()
4239 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchImportSemaphoreWin32HandleKHR() local
4240 …if (!wrap_handles) return layer_data->device_dispatch_table.ImportSemaphoreWin32HandleKHR(device, … in DispatchImportSemaphoreWin32HandleKHR()
4246 …local_pImportSemaphoreWin32HandleInfo->semaphore = layer_data->Unwrap(pImportSemaphoreWin32HandleI… in DispatchImportSemaphoreWin32HandleKHR()
4250 …VkResult result = layer_data->device_dispatch_table.ImportSemaphoreWin32HandleKHR(device, (const V… in DispatchImportSemaphoreWin32HandleKHR()
4265 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetSemaphoreWin32HandleKHR() local
4266 …if (!wrap_handles) return layer_data->device_dispatch_table.GetSemaphoreWin32HandleKHR(device, pGe… in DispatchGetSemaphoreWin32HandleKHR()
4272 … local_pGetWin32HandleInfo->semaphore = layer_data->Unwrap(pGetWin32HandleInfo->semaphore); in DispatchGetSemaphoreWin32HandleKHR()
4276 …VkResult result = layer_data->device_dispatch_table.GetSemaphoreWin32HandleKHR(device, (const VkSe… in DispatchGetSemaphoreWin32HandleKHR()
4288 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchImportSemaphoreFdKHR() local
4289 …if (!wrap_handles) return layer_data->device_dispatch_table.ImportSemaphoreFdKHR(device, pImportSe… in DispatchImportSemaphoreFdKHR()
4295 … local_pImportSemaphoreFdInfo->semaphore = layer_data->Unwrap(pImportSemaphoreFdInfo->semaphore); in DispatchImportSemaphoreFdKHR()
4299 …VkResult result = layer_data->device_dispatch_table.ImportSemaphoreFdKHR(device, (const VkImportSe… in DispatchImportSemaphoreFdKHR()
4311 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetSemaphoreFdKHR() local
4312 …if (!wrap_handles) return layer_data->device_dispatch_table.GetSemaphoreFdKHR(device, pGetFdInfo, … in DispatchGetSemaphoreFdKHR()
4318 local_pGetFdInfo->semaphore = layer_data->Unwrap(pGetFdInfo->semaphore); in DispatchGetSemaphoreFdKHR()
4322 …VkResult result = layer_data->device_dispatch_table.GetSemaphoreFdKHR(device, (const VkSemaphoreGe… in DispatchGetSemaphoreFdKHR()
4337 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdPushDescriptorSetKHR() local
4338 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdPushDescriptorSetKHR(commandBuffer,… in DispatchCmdPushDescriptorSetKHR()
4341 layout = layer_data->Unwrap(layout); in DispatchCmdPushDescriptorSetKHR()
4346 WrapPnextChainHandles(layer_data, local_pDescriptorWrites[index0].pNext); in DispatchCmdPushDescriptorSetKHR()
4348 … local_pDescriptorWrites[index0].dstSet = layer_data->Unwrap(pDescriptorWrites[index0].dstSet); in DispatchCmdPushDescriptorSetKHR()
4353 …local_pDescriptorWrites[index0].pImageInfo[index1].sampler = layer_data->Unwrap(pDescriptorWrites[… in DispatchCmdPushDescriptorSetKHR()
4356 …local_pDescriptorWrites[index0].pImageInfo[index1].imageView = layer_data->Unwrap(pDescriptorWrite… in DispatchCmdPushDescriptorSetKHR()
4363 …local_pDescriptorWrites[index0].pBufferInfo[index1].buffer = layer_data->Unwrap(pDescriptorWrites[… in DispatchCmdPushDescriptorSetKHR()
4369 …local_pDescriptorWrites[index0].pTexelBufferView[index1] = layer_data->Unwrap(local_pDescriptorWri… in DispatchCmdPushDescriptorSetKHR()
4375 …layer_data->device_dispatch_table.CmdPushDescriptorSetKHR(commandBuffer, pipelineBindPoint, layout… in DispatchCmdPushDescriptorSetKHR()
4396 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginRenderPass2KHR() local
4397 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginRenderPass2KHR(commandBuffer, … in DispatchCmdBeginRenderPass2KHR()
4403 … local_pRenderPassBegin->renderPass = layer_data->Unwrap(pRenderPassBegin->renderPass); in DispatchCmdBeginRenderPass2KHR()
4406 … local_pRenderPassBegin->framebuffer = layer_data->Unwrap(pRenderPassBegin->framebuffer); in DispatchCmdBeginRenderPass2KHR()
4408 WrapPnextChainHandles(layer_data, local_pRenderPassBegin->pNext); in DispatchCmdBeginRenderPass2KHR()
4411 …layer_data->device_dispatch_table.CmdBeginRenderPass2KHR(commandBuffer, (const VkRenderPassBeginIn… in DispatchCmdBeginRenderPass2KHR()
4422 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdNextSubpass2KHR() local
4423 …layer_data->device_dispatch_table.CmdNextSubpass2KHR(commandBuffer, pSubpassBeginInfo, pSubpassEnd… in DispatchCmdNextSubpass2KHR()
4431 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndRenderPass2KHR() local
4432 layer_data->device_dispatch_table.CmdEndRenderPass2KHR(commandBuffer, pSubpassEndInfo); in DispatchCmdEndRenderPass2KHR()
4440 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetSwapchainStatusKHR() local
4441 …if (!wrap_handles) return layer_data->device_dispatch_table.GetSwapchainStatusKHR(device, swapchai… in DispatchGetSwapchainStatusKHR()
4443 swapchain = layer_data->Unwrap(swapchain); in DispatchGetSwapchainStatusKHR()
4445 VkResult result = layer_data->device_dispatch_table.GetSwapchainStatusKHR(device, swapchain); in DispatchGetSwapchainStatusKHR()
4455 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalFencePropertiesKHR() local
4456 …layer_data->instance_dispatch_table.GetPhysicalDeviceExternalFencePropertiesKHR(physicalDevice, pE… in DispatchGetPhysicalDeviceExternalFencePropertiesKHR()
4466 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchImportFenceWin32HandleKHR() local
4467 …if (!wrap_handles) return layer_data->device_dispatch_table.ImportFenceWin32HandleKHR(device, pImp… in DispatchImportFenceWin32HandleKHR()
4473 … local_pImportFenceWin32HandleInfo->fence = layer_data->Unwrap(pImportFenceWin32HandleInfo->fence); in DispatchImportFenceWin32HandleKHR()
4477 …VkResult result = layer_data->device_dispatch_table.ImportFenceWin32HandleKHR(device, (const VkImp… in DispatchImportFenceWin32HandleKHR()
4492 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetFenceWin32HandleKHR() local
4493 …if (!wrap_handles) return layer_data->device_dispatch_table.GetFenceWin32HandleKHR(device, pGetWin… in DispatchGetFenceWin32HandleKHR()
4499 local_pGetWin32HandleInfo->fence = layer_data->Unwrap(pGetWin32HandleInfo->fence); in DispatchGetFenceWin32HandleKHR()
4503 …VkResult result = layer_data->device_dispatch_table.GetFenceWin32HandleKHR(device, (const VkFenceG… in DispatchGetFenceWin32HandleKHR()
4515 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchImportFenceFdKHR() local
4516 …if (!wrap_handles) return layer_data->device_dispatch_table.ImportFenceFdKHR(device, pImportFenceF… in DispatchImportFenceFdKHR()
4522 local_pImportFenceFdInfo->fence = layer_data->Unwrap(pImportFenceFdInfo->fence); in DispatchImportFenceFdKHR()
4526 …VkResult result = layer_data->device_dispatch_table.ImportFenceFdKHR(device, (const VkImportFenceF… in DispatchImportFenceFdKHR()
4538 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetFenceFdKHR() local
4539 …if (!wrap_handles) return layer_data->device_dispatch_table.GetFenceFdKHR(device, pGetFdInfo, pFd); in DispatchGetFenceFdKHR()
4545 local_pGetFdInfo->fence = layer_data->Unwrap(pGetFdInfo->fence); in DispatchGetFenceFdKHR()
4549 …VkResult result = layer_data->device_dispatch_table.GetFenceFdKHR(device, (const VkFenceGetFdInfoK… in DispatchGetFenceFdKHR()
4561 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceCapabilities2KHR() local
4562 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities… in DispatchGetPhysicalDeviceSurfaceCapabilities2KHR()
4568 local_pSurfaceInfo->surface = layer_data->Unwrap(pSurfaceInfo->surface); in DispatchGetPhysicalDeviceSurfaceCapabilities2KHR()
4572 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities2KHR(phy… in DispatchGetPhysicalDeviceSurfaceCapabilities2KHR()
4585 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceFormats2KHR() local
4586 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceFormats2KHR(… in DispatchGetPhysicalDeviceSurfaceFormats2KHR()
4592 local_pSurfaceInfo->surface = layer_data->Unwrap(pSurfaceInfo->surface); in DispatchGetPhysicalDeviceSurfaceFormats2KHR()
4596 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceFormats2KHR(physical… in DispatchGetPhysicalDeviceSurfaceFormats2KHR()
4614 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetDisplayPlaneCapabilities2KHR() local
4615 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetDisplayPlaneCapabilities2KHR(phys… in DispatchGetDisplayPlaneCapabilities2KHR()
4621 local_pDisplayPlaneInfo->mode = layer_data->Unwrap(pDisplayPlaneInfo->mode); in DispatchGetDisplayPlaneCapabilities2KHR()
4625 …VkResult result = layer_data->instance_dispatch_table.GetDisplayPlaneCapabilities2KHR(physicalDevi… in DispatchGetDisplayPlaneCapabilities2KHR()
4637 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageMemoryRequirements2KHR() local
4638 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageMemoryRequirements2KHR(device,… in DispatchGetImageMemoryRequirements2KHR()
4644 local_pInfo->image = layer_data->Unwrap(pInfo->image); in DispatchGetImageMemoryRequirements2KHR()
4648 …layer_data->device_dispatch_table.GetImageMemoryRequirements2KHR(device, (const VkImageMemoryRequi… in DispatchGetImageMemoryRequirements2KHR()
4659 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetBufferMemoryRequirements2KHR() local
4660 …if (!wrap_handles) return layer_data->device_dispatch_table.GetBufferMemoryRequirements2KHR(device… in DispatchGetBufferMemoryRequirements2KHR()
4666 local_pInfo->buffer = layer_data->Unwrap(pInfo->buffer); in DispatchGetBufferMemoryRequirements2KHR()
4670 …layer_data->device_dispatch_table.GetBufferMemoryRequirements2KHR(device, (const VkBufferMemoryReq… in DispatchGetBufferMemoryRequirements2KHR()
4682 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageSparseMemoryRequirements2KHR() local
4683 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageSparseMemoryRequirements2KHR(d… in DispatchGetImageSparseMemoryRequirements2KHR()
4689 local_pInfo->image = layer_data->Unwrap(pInfo->image); in DispatchGetImageSparseMemoryRequirements2KHR()
4693 …layer_data->device_dispatch_table.GetImageSparseMemoryRequirements2KHR(device, (const VkImageSpars… in DispatchGetImageSparseMemoryRequirements2KHR()
4705 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateSamplerYcbcrConversionKHR() local
4706 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateSamplerYcbcrConversionKHR(device… in DispatchCreateSamplerYcbcrConversionKHR()
4711 WrapPnextChainHandles(layer_data, local_pCreateInfo->pNext); in DispatchCreateSamplerYcbcrConversionKHR()
4714 …VkResult result = layer_data->device_dispatch_table.CreateSamplerYcbcrConversionKHR(device, (const… in DispatchCreateSamplerYcbcrConversionKHR()
4719 *pYcbcrConversion = layer_data->WrapNew(*pYcbcrConversion); in DispatchCreateSamplerYcbcrConversionKHR()
4729 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroySamplerYcbcrConversionKHR() local
4730 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroySamplerYcbcrConversionKHR(devic… in DispatchDestroySamplerYcbcrConversionKHR()
4738 …layer_data->device_dispatch_table.DestroySamplerYcbcrConversionKHR(device, ycbcrConversion, pAlloc… in DispatchDestroySamplerYcbcrConversionKHR()
4747 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindBufferMemory2KHR() local
4748 …if (!wrap_handles) return layer_data->device_dispatch_table.BindBufferMemory2KHR(device, bindInfoC… in DispatchBindBufferMemory2KHR()
4756 local_pBindInfos[index0].buffer = layer_data->Unwrap(pBindInfos[index0].buffer); in DispatchBindBufferMemory2KHR()
4759 local_pBindInfos[index0].memory = layer_data->Unwrap(pBindInfos[index0].memory); in DispatchBindBufferMemory2KHR()
4764 …VkResult result = layer_data->device_dispatch_table.BindBufferMemory2KHR(device, bindInfoCount, (c… in DispatchBindBufferMemory2KHR()
4776 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindImageMemory2KHR() local
4777 …if (!wrap_handles) return layer_data->device_dispatch_table.BindImageMemory2KHR(device, bindInfoCo… in DispatchBindImageMemory2KHR()
4784 WrapPnextChainHandles(layer_data, local_pBindInfos[index0].pNext); in DispatchBindImageMemory2KHR()
4786 local_pBindInfos[index0].image = layer_data->Unwrap(pBindInfos[index0].image); in DispatchBindImageMemory2KHR()
4789 local_pBindInfos[index0].memory = layer_data->Unwrap(pBindInfos[index0].memory); in DispatchBindImageMemory2KHR()
4794 …VkResult result = layer_data->device_dispatch_table.BindImageMemory2KHR(device, bindInfoCount, (co… in DispatchBindImageMemory2KHR()
4806 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDescriptorSetLayoutSupportKHR() local
4807 …if (!wrap_handles) return layer_data->device_dispatch_table.GetDescriptorSetLayoutSupportKHR(devic… in DispatchGetDescriptorSetLayoutSupportKHR()
4816 …local_pCreateInfo->pBindings[index1].pImmutableSamplers[index2] = layer_data->Unwrap(local_pCreate… in DispatchGetDescriptorSetLayoutSupportKHR()
4823 …layer_data->device_dispatch_table.GetDescriptorSetLayoutSupportKHR(device, (const VkDescriptorSetL… in DispatchGetDescriptorSetLayoutSupportKHR()
4838 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndirectCountKHR() local
4839 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndirectCountKHR(commandBuffer,… in DispatchCmdDrawIndirectCountKHR()
4841 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndirectCountKHR()
4842 countBuffer = layer_data->Unwrap(countBuffer); in DispatchCmdDrawIndirectCountKHR()
4844 …layer_data->device_dispatch_table.CmdDrawIndirectCountKHR(commandBuffer, buffer, offset, countBuff… in DispatchCmdDrawIndirectCountKHR()
4857 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndexedIndirectCountKHR() local
4858 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndexedIndirectCountKHR(command… in DispatchCmdDrawIndexedIndirectCountKHR()
4860 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndexedIndirectCountKHR()
4861 countBuffer = layer_data->Unwrap(countBuffer); in DispatchCmdDrawIndexedIndirectCountKHR()
4863 …layer_data->device_dispatch_table.CmdDrawIndexedIndirectCountKHR(commandBuffer, buffer, offset, co… in DispatchCmdDrawIndexedIndirectCountKHR()
4873 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPipelineExecutablePropertiesKHR() local
4874 …if (!wrap_handles) return layer_data->device_dispatch_table.GetPipelineExecutablePropertiesKHR(dev… in DispatchGetPipelineExecutablePropertiesKHR()
4880 local_pPipelineInfo->pipeline = layer_data->Unwrap(pPipelineInfo->pipeline); in DispatchGetPipelineExecutablePropertiesKHR()
4884 …VkResult result = layer_data->device_dispatch_table.GetPipelineExecutablePropertiesKHR(device, (co… in DispatchGetPipelineExecutablePropertiesKHR()
4897 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPipelineExecutableStatisticsKHR() local
4898 …if (!wrap_handles) return layer_data->device_dispatch_table.GetPipelineExecutableStatisticsKHR(dev… in DispatchGetPipelineExecutableStatisticsKHR()
4904 local_pExecutableInfo->pipeline = layer_data->Unwrap(pExecutableInfo->pipeline); in DispatchGetPipelineExecutableStatisticsKHR()
4908 …VkResult result = layer_data->device_dispatch_table.GetPipelineExecutableStatisticsKHR(device, (co… in DispatchGetPipelineExecutableStatisticsKHR()
4921 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPipelineExecutableInternalRepresentationsKHR() local
4922 …if (!wrap_handles) return layer_data->device_dispatch_table.GetPipelineExecutableInternalRepresent… in DispatchGetPipelineExecutableInternalRepresentationsKHR()
4928 local_pExecutableInfo->pipeline = layer_data->Unwrap(pExecutableInfo->pipeline); in DispatchGetPipelineExecutableInternalRepresentationsKHR()
4932 …VkResult result = layer_data->device_dispatch_table.GetPipelineExecutableInternalRepresentationsKH… in DispatchGetPipelineExecutableInternalRepresentationsKHR()
4945 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateDebugReportCallbackEXT() local
4946 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateDebugReportCallbackEXT(instanc… in DispatchCreateDebugReportCallbackEXT()
4947 …VkResult result = layer_data->instance_dispatch_table.CreateDebugReportCallbackEXT(instance, pCrea… in DispatchCreateDebugReportCallbackEXT()
4949 *pCallback = layer_data->WrapNew(*pCallback); in DispatchCreateDebugReportCallbackEXT()
4959 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchDestroyDebugReportCallbackEXT() local
4960 …if (!wrap_handles) return layer_data->instance_dispatch_table.DestroyDebugReportCallbackEXT(instan… in DispatchDestroyDebugReportCallbackEXT()
4968 … layer_data->instance_dispatch_table.DestroyDebugReportCallbackEXT(instance, callback, pAllocator); in DispatchDestroyDebugReportCallbackEXT()
4982 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchDebugReportMessageEXT() local
4983 …layer_data->instance_dispatch_table.DebugReportMessageEXT(instance, flags, objectType, object, loc… in DispatchDebugReportMessageEXT()
4995 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDebugMarkerBeginEXT() local
4996 layer_data->device_dispatch_table.CmdDebugMarkerBeginEXT(commandBuffer, pMarkerInfo); in DispatchCmdDebugMarkerBeginEXT()
5003 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDebugMarkerEndEXT() local
5004 layer_data->device_dispatch_table.CmdDebugMarkerEndEXT(commandBuffer); in DispatchCmdDebugMarkerEndEXT()
5012 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDebugMarkerInsertEXT() local
5013 layer_data->device_dispatch_table.CmdDebugMarkerInsertEXT(commandBuffer, pMarkerInfo); in DispatchCmdDebugMarkerInsertEXT()
5025 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindTransformFeedbackBuffersEXT() local
5026 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindTransformFeedbackBuffersEXT(com… in DispatchCmdBindTransformFeedbackBuffersEXT()
5032 local_pBuffers[index0] = layer_data->Unwrap(pBuffers[index0]); in DispatchCmdBindTransformFeedbackBuffersEXT()
5036 …layer_data->device_dispatch_table.CmdBindTransformFeedbackBuffersEXT(commandBuffer, firstBinding, … in DispatchCmdBindTransformFeedbackBuffersEXT()
5048 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginTransformFeedbackEXT() local
5049 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginTransformFeedbackEXT(commandBu… in DispatchCmdBeginTransformFeedbackEXT()
5055 local_pCounterBuffers[index0] = layer_data->Unwrap(pCounterBuffers[index0]); in DispatchCmdBeginTransformFeedbackEXT()
5059 …layer_data->device_dispatch_table.CmdBeginTransformFeedbackEXT(commandBuffer, firstCounterBuffer, … in DispatchCmdBeginTransformFeedbackEXT()
5071 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndTransformFeedbackEXT() local
5072 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdEndTransformFeedbackEXT(commandBuff… in DispatchCmdEndTransformFeedbackEXT()
5078 local_pCounterBuffers[index0] = layer_data->Unwrap(pCounterBuffers[index0]); in DispatchCmdEndTransformFeedbackEXT()
5082 …layer_data->device_dispatch_table.CmdEndTransformFeedbackEXT(commandBuffer, firstCounterBuffer, co… in DispatchCmdEndTransformFeedbackEXT()
5094 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginQueryIndexedEXT() local
5095 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginQueryIndexedEXT(commandBuffer,… in DispatchCmdBeginQueryIndexedEXT()
5097 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdBeginQueryIndexedEXT()
5099 …layer_data->device_dispatch_table.CmdBeginQueryIndexedEXT(commandBuffer, queryPool, query, flags, … in DispatchCmdBeginQueryIndexedEXT()
5109 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndQueryIndexedEXT() local
5110 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdEndQueryIndexedEXT(commandBuffer, q… in DispatchCmdEndQueryIndexedEXT()
5112 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdEndQueryIndexedEXT()
5114 layer_data->device_dispatch_table.CmdEndQueryIndexedEXT(commandBuffer, queryPool, query, index); in DispatchCmdEndQueryIndexedEXT()
5127 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndirectByteCountEXT() local
5128 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndirectByteCountEXT(commandBuf… in DispatchCmdDrawIndirectByteCountEXT()
5130 counterBuffer = layer_data->Unwrap(counterBuffer); in DispatchCmdDrawIndirectByteCountEXT()
5132 …layer_data->device_dispatch_table.CmdDrawIndirectByteCountEXT(commandBuffer, instanceCount, firstI… in DispatchCmdDrawIndirectByteCountEXT()
5140 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageViewHandleNVX() local
5141 … if (!wrap_handles) return layer_data->device_dispatch_table.GetImageViewHandleNVX(device, pInfo); in DispatchGetImageViewHandleNVX()
5147 local_pInfo->imageView = layer_data->Unwrap(pInfo->imageView); in DispatchGetImageViewHandleNVX()
5150 local_pInfo->sampler = layer_data->Unwrap(pInfo->sampler); in DispatchGetImageViewHandleNVX()
5154 …uint32_t result = layer_data->device_dispatch_table.GetImageViewHandleNVX(device, (const VkImageVi… in DispatchGetImageViewHandleNVX()
5170 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndirectCountAMD() local
5171 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndirectCountAMD(commandBuffer,… in DispatchCmdDrawIndirectCountAMD()
5173 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndirectCountAMD()
5174 countBuffer = layer_data->Unwrap(countBuffer); in DispatchCmdDrawIndirectCountAMD()
5176 …layer_data->device_dispatch_table.CmdDrawIndirectCountAMD(commandBuffer, buffer, offset, countBuff… in DispatchCmdDrawIndirectCountAMD()
5189 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawIndexedIndirectCountAMD() local
5190 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawIndexedIndirectCountAMD(command… in DispatchCmdDrawIndexedIndirectCountAMD()
5192 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawIndexedIndirectCountAMD()
5193 countBuffer = layer_data->Unwrap(countBuffer); in DispatchCmdDrawIndexedIndirectCountAMD()
5195 …layer_data->device_dispatch_table.CmdDrawIndexedIndirectCountAMD(commandBuffer, buffer, offset, co… in DispatchCmdDrawIndexedIndirectCountAMD()
5207 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetShaderInfoAMD() local
5208 …if (!wrap_handles) return layer_data->device_dispatch_table.GetShaderInfoAMD(device, pipeline, sha… in DispatchGetShaderInfoAMD()
5210 pipeline = layer_data->Unwrap(pipeline); in DispatchGetShaderInfoAMD()
5212 …VkResult result = layer_data->device_dispatch_table.GetShaderInfoAMD(device, pipeline, shaderStage… in DispatchGetShaderInfoAMD()
5225 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateStreamDescriptorSurfaceGGP() local
5226 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateStreamDescriptorSurfaceGGP(ins… in DispatchCreateStreamDescriptorSurfaceGGP()
5227 …VkResult result = layer_data->instance_dispatch_table.CreateStreamDescriptorSurfaceGGP(instance, p… in DispatchCreateStreamDescriptorSurfaceGGP()
5229 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateStreamDescriptorSurfaceGGP()
5245 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceExternalImageFormatPropertiesNV() local
5246 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceExternalImageFormatProperti… in DispatchGetPhysicalDeviceExternalImageFormatPropertiesNV()
5259 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryWin32HandleNV() local
5260 …if (!wrap_handles) return layer_data->device_dispatch_table.GetMemoryWin32HandleNV(device, memory,… in DispatchGetMemoryWin32HandleNV()
5262 memory = layer_data->Unwrap(memory); in DispatchGetMemoryWin32HandleNV()
5264 …VkResult result = layer_data->device_dispatch_table.GetMemoryWin32HandleNV(device, memory, handleT… in DispatchGetMemoryWin32HandleNV()
5278 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateViSurfaceNN() local
5279 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateViSurfaceNN(instance, pCreateI… in DispatchCreateViSurfaceNN()
5280 …VkResult result = layer_data->instance_dispatch_table.CreateViSurfaceNN(instance, pCreateInfo, pAl… in DispatchCreateViSurfaceNN()
5282 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateViSurfaceNN()
5292 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginConditionalRenderingEXT() local
5293 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBeginConditionalRenderingEXT(comman… in DispatchCmdBeginConditionalRenderingEXT()
5299 … local_pConditionalRenderingBegin->buffer = layer_data->Unwrap(pConditionalRenderingBegin->buffer); in DispatchCmdBeginConditionalRenderingEXT()
5303 …layer_data->device_dispatch_table.CmdBeginConditionalRenderingEXT(commandBuffer, (const VkConditio… in DispatchCmdBeginConditionalRenderingEXT()
5312 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndConditionalRenderingEXT() local
5313 layer_data->device_dispatch_table.CmdEndConditionalRenderingEXT(commandBuffer); in DispatchCmdEndConditionalRenderingEXT()
5321 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdProcessCommandsNVX() local
5322 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdProcessCommandsNVX(commandBuffer, p… in DispatchCmdProcessCommandsNVX()
5328 … local_pProcessCommandsInfo->objectTable = layer_data->Unwrap(pProcessCommandsInfo->objectTable); in DispatchCmdProcessCommandsNVX()
5331 …local_pProcessCommandsInfo->indirectCommandsLayout = layer_data->Unwrap(pProcessCommandsInfo->indi… in DispatchCmdProcessCommandsNVX()
5336 …local_pProcessCommandsInfo->pIndirectCommandsTokens[index1].buffer = layer_data->Unwrap(pProcessCo… in DispatchCmdProcessCommandsNVX()
5341 …local_pProcessCommandsInfo->sequencesCountBuffer = layer_data->Unwrap(pProcessCommandsInfo->sequen… in DispatchCmdProcessCommandsNVX()
5344 …local_pProcessCommandsInfo->sequencesIndexBuffer = layer_data->Unwrap(pProcessCommandsInfo->sequen… in DispatchCmdProcessCommandsNVX()
5348 …layer_data->device_dispatch_table.CmdProcessCommandsNVX(commandBuffer, (const VkCmdProcessCommands… in DispatchCmdProcessCommandsNVX()
5358 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdReserveSpaceForCommandsNVX() local
5359 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdReserveSpaceForCommandsNVX(commandB… in DispatchCmdReserveSpaceForCommandsNVX()
5365 … local_pReserveSpaceInfo->objectTable = layer_data->Unwrap(pReserveSpaceInfo->objectTable); in DispatchCmdReserveSpaceForCommandsNVX()
5368 …local_pReserveSpaceInfo->indirectCommandsLayout = layer_data->Unwrap(pReserveSpaceInfo->indirectCo… in DispatchCmdReserveSpaceForCommandsNVX()
5372 …layer_data->device_dispatch_table.CmdReserveSpaceForCommandsNVX(commandBuffer, (const VkCmdReserve… in DispatchCmdReserveSpaceForCommandsNVX()
5384 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateIndirectCommandsLayoutNVX() local
5385 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateIndirectCommandsLayoutNVX(device… in DispatchCreateIndirectCommandsLayoutNVX()
5386 …VkResult result = layer_data->device_dispatch_table.CreateIndirectCommandsLayoutNVX(device, pCreat… in DispatchCreateIndirectCommandsLayoutNVX()
5388 *pIndirectCommandsLayout = layer_data->WrapNew(*pIndirectCommandsLayout); in DispatchCreateIndirectCommandsLayoutNVX()
5398 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyIndirectCommandsLayoutNVX() local
5399 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyIndirectCommandsLayoutNVX(devic… in DispatchDestroyIndirectCommandsLayoutNVX()
5407 …layer_data->device_dispatch_table.DestroyIndirectCommandsLayoutNVX(device, indirectCommandsLayout,… in DispatchDestroyIndirectCommandsLayoutNVX()
5417 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateObjectTableNVX() local
5418 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateObjectTableNVX(device, pCreateIn… in DispatchCreateObjectTableNVX()
5419 …VkResult result = layer_data->device_dispatch_table.CreateObjectTableNVX(device, pCreateInfo, pAll… in DispatchCreateObjectTableNVX()
5421 *pObjectTable = layer_data->WrapNew(*pObjectTable); in DispatchCreateObjectTableNVX()
5431 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyObjectTableNVX() local
5432 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyObjectTableNVX(device, objectTa… in DispatchDestroyObjectTableNVX()
5440 layer_data->device_dispatch_table.DestroyObjectTableNVX(device, objectTable, pAllocator); in DispatchDestroyObjectTableNVX()
5451 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchRegisterObjectsNVX() local
5452 …if (!wrap_handles) return layer_data->device_dispatch_table.RegisterObjectsNVX(device, objectTable… in DispatchRegisterObjectsNVX()
5454 objectTable = layer_data->Unwrap(objectTable); in DispatchRegisterObjectsNVX()
5456 …VkResult result = layer_data->device_dispatch_table.RegisterObjectsNVX(device, objectTable, object… in DispatchRegisterObjectsNVX()
5468 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUnregisterObjectsNVX() local
5469 …if (!wrap_handles) return layer_data->device_dispatch_table.UnregisterObjectsNVX(device, objectTab… in DispatchUnregisterObjectsNVX()
5471 objectTable = layer_data->Unwrap(objectTable); in DispatchUnregisterObjectsNVX()
5473 …VkResult result = layer_data->device_dispatch_table.UnregisterObjectsNVX(device, objectTable, obje… in DispatchUnregisterObjectsNVX()
5483 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceGeneratedCommandsPropertiesNVX() local
5484 …layer_data->instance_dispatch_table.GetPhysicalDeviceGeneratedCommandsPropertiesNVX(physicalDevice… in DispatchGetPhysicalDeviceGeneratedCommandsPropertiesNVX()
5494 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetViewportWScalingNV() local
5495 …layer_data->device_dispatch_table.CmdSetViewportWScalingNV(commandBuffer, firstViewport, viewportC… in DispatchCmdSetViewportWScalingNV()
5503 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchReleaseDisplayEXT() local
5504 …if (!wrap_handles) return layer_data->instance_dispatch_table.ReleaseDisplayEXT(physicalDevice, di… in DispatchReleaseDisplayEXT()
5506 display = layer_data->Unwrap(display); in DispatchReleaseDisplayEXT()
5508 … VkResult result = layer_data->instance_dispatch_table.ReleaseDisplayEXT(physicalDevice, display); in DispatchReleaseDisplayEXT()
5520 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchAcquireXlibDisplayEXT() local
5521 …if (!wrap_handles) return layer_data->instance_dispatch_table.AcquireXlibDisplayEXT(physicalDevice… in DispatchAcquireXlibDisplayEXT()
5523 display = layer_data->Unwrap(display); in DispatchAcquireXlibDisplayEXT()
5525 …VkResult result = layer_data->instance_dispatch_table.AcquireXlibDisplayEXT(physicalDevice, dpy, d… in DispatchAcquireXlibDisplayEXT()
5539 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetRandROutputDisplayEXT() local
5540 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetRandROutputDisplayEXT(physicalDev… in DispatchGetRandROutputDisplayEXT()
5541 …VkResult result = layer_data->instance_dispatch_table.GetRandROutputDisplayEXT(physicalDevice, dpy… in DispatchGetRandROutputDisplayEXT()
5543 *pDisplay = layer_data->WrapNew(*pDisplay); in DispatchGetRandROutputDisplayEXT()
5554 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfaceCapabilities2EXT() local
5555 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities… in DispatchGetPhysicalDeviceSurfaceCapabilities2EXT()
5557 surface = layer_data->Unwrap(surface); in DispatchGetPhysicalDeviceSurfaceCapabilities2EXT()
5559 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities2EXT(phy… in DispatchGetPhysicalDeviceSurfaceCapabilities2EXT()
5569 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDisplayPowerControlEXT() local
5570 …if (!wrap_handles) return layer_data->device_dispatch_table.DisplayPowerControlEXT(device, display… in DispatchDisplayPowerControlEXT()
5572 display = layer_data->Unwrap(display); in DispatchDisplayPowerControlEXT()
5574 …VkResult result = layer_data->device_dispatch_table.DisplayPowerControlEXT(device, display, pDispl… in DispatchDisplayPowerControlEXT()
5585 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchRegisterDeviceEventEXT() local
5586 …if (!wrap_handles) return layer_data->device_dispatch_table.RegisterDeviceEventEXT(device, pDevice… in DispatchRegisterDeviceEventEXT()
5587 …VkResult result = layer_data->device_dispatch_table.RegisterDeviceEventEXT(device, pDeviceEventInf… in DispatchRegisterDeviceEventEXT()
5589 *pFence = layer_data->WrapNew(*pFence); in DispatchRegisterDeviceEventEXT()
5601 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchRegisterDisplayEventEXT() local
5602 …if (!wrap_handles) return layer_data->device_dispatch_table.RegisterDisplayEventEXT(device, displa… in DispatchRegisterDisplayEventEXT()
5604 display = layer_data->Unwrap(display); in DispatchRegisterDisplayEventEXT()
5606 …VkResult result = layer_data->device_dispatch_table.RegisterDisplayEventEXT(device, display, pDisp… in DispatchRegisterDisplayEventEXT()
5608 *pFence = layer_data->WrapNew(*pFence); in DispatchRegisterDisplayEventEXT()
5619 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetSwapchainCounterEXT() local
5620 …if (!wrap_handles) return layer_data->device_dispatch_table.GetSwapchainCounterEXT(device, swapcha… in DispatchGetSwapchainCounterEXT()
5622 swapchain = layer_data->Unwrap(swapchain); in DispatchGetSwapchainCounterEXT()
5624 …VkResult result = layer_data->device_dispatch_table.GetSwapchainCounterEXT(device, swapchain, coun… in DispatchGetSwapchainCounterEXT()
5634 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetRefreshCycleDurationGOOGLE() local
5635 …if (!wrap_handles) return layer_data->device_dispatch_table.GetRefreshCycleDurationGOOGLE(device, … in DispatchGetRefreshCycleDurationGOOGLE()
5637 swapchain = layer_data->Unwrap(swapchain); in DispatchGetRefreshCycleDurationGOOGLE()
5639 …VkResult result = layer_data->device_dispatch_table.GetRefreshCycleDurationGOOGLE(device, swapchai… in DispatchGetRefreshCycleDurationGOOGLE()
5650 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPastPresentationTimingGOOGLE() local
5651 …if (!wrap_handles) return layer_data->device_dispatch_table.GetPastPresentationTimingGOOGLE(device… in DispatchGetPastPresentationTimingGOOGLE()
5653 swapchain = layer_data->Unwrap(swapchain); in DispatchGetPastPresentationTimingGOOGLE()
5655 …VkResult result = layer_data->device_dispatch_table.GetPastPresentationTimingGOOGLE(device, swapch… in DispatchGetPastPresentationTimingGOOGLE()
5666 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetDiscardRectangleEXT() local
5667 …layer_data->device_dispatch_table.CmdSetDiscardRectangleEXT(commandBuffer, firstDiscardRectangle, … in DispatchCmdSetDiscardRectangleEXT()
5677 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchSetHdrMetadataEXT() local
5678 …if (!wrap_handles) return layer_data->device_dispatch_table.SetHdrMetadataEXT(device, swapchainCou… in DispatchSetHdrMetadataEXT()
5684 local_pSwapchains[index0] = layer_data->Unwrap(pSwapchains[index0]); in DispatchSetHdrMetadataEXT()
5688 …layer_data->device_dispatch_table.SetHdrMetadataEXT(device, swapchainCount, (const VkSwapchainKHR*… in DispatchSetHdrMetadataEXT()
5701 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateIOSSurfaceMVK() local
5702 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateIOSSurfaceMVK(instance, pCreat… in DispatchCreateIOSSurfaceMVK()
5703 …VkResult result = layer_data->instance_dispatch_table.CreateIOSSurfaceMVK(instance, pCreateInfo, p… in DispatchCreateIOSSurfaceMVK()
5705 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateIOSSurfaceMVK()
5719 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateMacOSSurfaceMVK() local
5720 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateMacOSSurfaceMVK(instance, pCre… in DispatchCreateMacOSSurfaceMVK()
5721 …VkResult result = layer_data->instance_dispatch_table.CreateMacOSSurfaceMVK(instance, pCreateInfo,… in DispatchCreateMacOSSurfaceMVK()
5723 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateMacOSSurfaceMVK()
5737 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueBeginDebugUtilsLabelEXT() local
5738 layer_data->device_dispatch_table.QueueBeginDebugUtilsLabelEXT(queue, pLabelInfo); in DispatchQueueBeginDebugUtilsLabelEXT()
5745 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueEndDebugUtilsLabelEXT() local
5746 layer_data->device_dispatch_table.QueueEndDebugUtilsLabelEXT(queue); in DispatchQueueEndDebugUtilsLabelEXT()
5754 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueInsertDebugUtilsLabelEXT() local
5755 layer_data->device_dispatch_table.QueueInsertDebugUtilsLabelEXT(queue, pLabelInfo); in DispatchQueueInsertDebugUtilsLabelEXT()
5763 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBeginDebugUtilsLabelEXT() local
5764 layer_data->device_dispatch_table.CmdBeginDebugUtilsLabelEXT(commandBuffer, pLabelInfo); in DispatchCmdBeginDebugUtilsLabelEXT()
5771 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdEndDebugUtilsLabelEXT() local
5772 layer_data->device_dispatch_table.CmdEndDebugUtilsLabelEXT(commandBuffer); in DispatchCmdEndDebugUtilsLabelEXT()
5780 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdInsertDebugUtilsLabelEXT() local
5781 layer_data->device_dispatch_table.CmdInsertDebugUtilsLabelEXT(commandBuffer, pLabelInfo); in DispatchCmdInsertDebugUtilsLabelEXT()
5791 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateDebugUtilsMessengerEXT() local
5792 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateDebugUtilsMessengerEXT(instanc… in DispatchCreateDebugUtilsMessengerEXT()
5793 …VkResult result = layer_data->instance_dispatch_table.CreateDebugUtilsMessengerEXT(instance, pCrea… in DispatchCreateDebugUtilsMessengerEXT()
5795 *pMessenger = layer_data->WrapNew(*pMessenger); in DispatchCreateDebugUtilsMessengerEXT()
5805 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchDestroyDebugUtilsMessengerEXT() local
5806 …if (!wrap_handles) return layer_data->instance_dispatch_table.DestroyDebugUtilsMessengerEXT(instan… in DispatchDestroyDebugUtilsMessengerEXT()
5814 …layer_data->instance_dispatch_table.DestroyDebugUtilsMessengerEXT(instance, messenger, pAllocator); in DispatchDestroyDebugUtilsMessengerEXT()
5824 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchSubmitDebugUtilsMessageEXT() local
5825 …layer_data->instance_dispatch_table.SubmitDebugUtilsMessageEXT(instance, messageSeverity, messageT… in DispatchSubmitDebugUtilsMessageEXT()
5836 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetAndroidHardwareBufferPropertiesANDROID() local
5837 …VkResult result = layer_data->device_dispatch_table.GetAndroidHardwareBufferPropertiesANDROID(devi… in DispatchGetAndroidHardwareBufferPropertiesANDROID()
5850 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryAndroidHardwareBufferANDROID() local
5851 …if (!wrap_handles) return layer_data->device_dispatch_table.GetMemoryAndroidHardwareBufferANDROID(… in DispatchGetMemoryAndroidHardwareBufferANDROID()
5857 local_pInfo->memory = layer_data->Unwrap(pInfo->memory); in DispatchGetMemoryAndroidHardwareBufferANDROID()
5861 …VkResult result = layer_data->device_dispatch_table.GetMemoryAndroidHardwareBufferANDROID(device, … in DispatchGetMemoryAndroidHardwareBufferANDROID()
5873 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetSampleLocationsEXT() local
5874 layer_data->device_dispatch_table.CmdSetSampleLocationsEXT(commandBuffer, pSampleLocationsInfo); in DispatchCmdSetSampleLocationsEXT()
5883 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceMultisamplePropertiesEXT() local
5884 …layer_data->instance_dispatch_table.GetPhysicalDeviceMultisamplePropertiesEXT(physicalDevice, samp… in DispatchGetPhysicalDeviceMultisamplePropertiesEXT()
5893 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetImageDrmFormatModifierPropertiesEXT() local
5894 …if (!wrap_handles) return layer_data->device_dispatch_table.GetImageDrmFormatModifierPropertiesEXT… in DispatchGetImageDrmFormatModifierPropertiesEXT()
5896 image = layer_data->Unwrap(image); in DispatchGetImageDrmFormatModifierPropertiesEXT()
5898 …VkResult result = layer_data->device_dispatch_table.GetImageDrmFormatModifierPropertiesEXT(device,… in DispatchGetImageDrmFormatModifierPropertiesEXT()
5909 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateValidationCacheEXT() local
5910 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateValidationCacheEXT(device, pCrea… in DispatchCreateValidationCacheEXT()
5911 …VkResult result = layer_data->device_dispatch_table.CreateValidationCacheEXT(device, pCreateInfo, … in DispatchCreateValidationCacheEXT()
5913 *pValidationCache = layer_data->WrapNew(*pValidationCache); in DispatchCreateValidationCacheEXT()
5923 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyValidationCacheEXT() local
5924 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyValidationCacheEXT(device, vali… in DispatchDestroyValidationCacheEXT()
5932 … layer_data->device_dispatch_table.DestroyValidationCacheEXT(device, validationCache, pAllocator); in DispatchDestroyValidationCacheEXT()
5942 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchMergeValidationCachesEXT() local
5943 …if (!wrap_handles) return layer_data->device_dispatch_table.MergeValidationCachesEXT(device, dstCa… in DispatchMergeValidationCachesEXT()
5946 dstCache = layer_data->Unwrap(dstCache); in DispatchMergeValidationCachesEXT()
5950 local_pSrcCaches[index0] = layer_data->Unwrap(pSrcCaches[index0]); in DispatchMergeValidationCachesEXT()
5954 …VkResult result = layer_data->device_dispatch_table.MergeValidationCachesEXT(device, dstCache, src… in DispatchMergeValidationCachesEXT()
5966 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetValidationCacheDataEXT() local
5967 …if (!wrap_handles) return layer_data->device_dispatch_table.GetValidationCacheDataEXT(device, vali… in DispatchGetValidationCacheDataEXT()
5969 validationCache = layer_data->Unwrap(validationCache); in DispatchGetValidationCacheDataEXT()
5971 …VkResult result = layer_data->device_dispatch_table.GetValidationCacheDataEXT(device, validationCa… in DispatchGetValidationCacheDataEXT()
5981 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBindShadingRateImageNV() local
5982 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBindShadingRateImageNV(commandBuffe… in DispatchCmdBindShadingRateImageNV()
5984 imageView = layer_data->Unwrap(imageView); in DispatchCmdBindShadingRateImageNV()
5986 …layer_data->device_dispatch_table.CmdBindShadingRateImageNV(commandBuffer, imageView, imageLayout); in DispatchCmdBindShadingRateImageNV()
5996 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetViewportShadingRatePaletteNV() local
5997 …layer_data->device_dispatch_table.CmdSetViewportShadingRatePaletteNV(commandBuffer, firstViewport,… in DispatchCmdSetViewportShadingRatePaletteNV()
6007 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetCoarseSampleOrderNV() local
6008 …layer_data->device_dispatch_table.CmdSetCoarseSampleOrderNV(commandBuffer, sampleOrderType, custom… in DispatchCmdSetCoarseSampleOrderNV()
6018 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateAccelerationStructureNV() local
6019 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateAccelerationStructureNV(device, … in DispatchCreateAccelerationStructureNV()
6027 …_pCreateInfo->info.pGeometries[index2].geometry.triangles.vertexData = layer_data->Unwrap(pCreateI… in DispatchCreateAccelerationStructureNV()
6030 …l_pCreateInfo->info.pGeometries[index2].geometry.triangles.indexData = layer_data->Unwrap(pCreateI… in DispatchCreateAccelerationStructureNV()
6033 …reateInfo->info.pGeometries[index2].geometry.triangles.transformData = layer_data->Unwrap(pCreateI… in DispatchCreateAccelerationStructureNV()
6036 …local_pCreateInfo->info.pGeometries[index2].geometry.aabbs.aabbData = layer_data->Unwrap(pCreateIn… in DispatchCreateAccelerationStructureNV()
6042 …VkResult result = layer_data->device_dispatch_table.CreateAccelerationStructureNV(device, (const V… in DispatchCreateAccelerationStructureNV()
6047 *pAccelerationStructure = layer_data->WrapNew(*pAccelerationStructure); in DispatchCreateAccelerationStructureNV()
6057 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchDestroyAccelerationStructureNV() local
6058 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyAccelerationStructureNV(device,… in DispatchDestroyAccelerationStructureNV()
6066 …layer_data->device_dispatch_table.DestroyAccelerationStructureNV(device, accelerationStructure, pA… in DispatchDestroyAccelerationStructureNV()
6075 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetAccelerationStructureMemoryRequirementsNV() local
6076 …if (!wrap_handles) return layer_data->device_dispatch_table.GetAccelerationStructureMemoryRequirem… in DispatchGetAccelerationStructureMemoryRequirementsNV()
6082 … local_pInfo->accelerationStructure = layer_data->Unwrap(pInfo->accelerationStructure); in DispatchGetAccelerationStructureMemoryRequirementsNV()
6086 …layer_data->device_dispatch_table.GetAccelerationStructureMemoryRequirementsNV(device, (const VkAc… in DispatchGetAccelerationStructureMemoryRequirementsNV()
6097 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchBindAccelerationStructureMemoryNV() local
6098 …if (!wrap_handles) return layer_data->device_dispatch_table.BindAccelerationStructureMemoryNV(devi… in DispatchBindAccelerationStructureMemoryNV()
6106 …local_pBindInfos[index0].accelerationStructure = layer_data->Unwrap(pBindInfos[index0].acceleratio… in DispatchBindAccelerationStructureMemoryNV()
6109 local_pBindInfos[index0].memory = layer_data->Unwrap(pBindInfos[index0].memory); in DispatchBindAccelerationStructureMemoryNV()
6114 …VkResult result = layer_data->device_dispatch_table.BindAccelerationStructureMemoryNV(device, bind… in DispatchBindAccelerationStructureMemoryNV()
6132 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdBuildAccelerationStructureNV() local
6133 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdBuildAccelerationStructureNV(comman… in DispatchCmdBuildAccelerationStructureNV()
6141 …local_pInfo->pGeometries[index1].geometry.triangles.vertexData = layer_data->Unwrap(pInfo->pGeomet… in DispatchCmdBuildAccelerationStructureNV()
6144 …local_pInfo->pGeometries[index1].geometry.triangles.indexData = layer_data->Unwrap(pInfo->pGeometr… in DispatchCmdBuildAccelerationStructureNV()
6147 …local_pInfo->pGeometries[index1].geometry.triangles.transformData = layer_data->Unwrap(pInfo->pGeo… in DispatchCmdBuildAccelerationStructureNV()
6150 …local_pInfo->pGeometries[index1].geometry.aabbs.aabbData = layer_data->Unwrap(pInfo->pGeometries[i… in DispatchCmdBuildAccelerationStructureNV()
6155 instanceData = layer_data->Unwrap(instanceData); in DispatchCmdBuildAccelerationStructureNV()
6156 dst = layer_data->Unwrap(dst); in DispatchCmdBuildAccelerationStructureNV()
6157 src = layer_data->Unwrap(src); in DispatchCmdBuildAccelerationStructureNV()
6158 scratch = layer_data->Unwrap(scratch); in DispatchCmdBuildAccelerationStructureNV()
6160 …layer_data->device_dispatch_table.CmdBuildAccelerationStructureNV(commandBuffer, (const VkAccelera… in DispatchCmdBuildAccelerationStructureNV()
6172 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdCopyAccelerationStructureNV() local
6173 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdCopyAccelerationStructureNV(command… in DispatchCmdCopyAccelerationStructureNV()
6175 dst = layer_data->Unwrap(dst); in DispatchCmdCopyAccelerationStructureNV()
6176 src = layer_data->Unwrap(src); in DispatchCmdCopyAccelerationStructureNV()
6178 layer_data->device_dispatch_table.CmdCopyAccelerationStructureNV(commandBuffer, dst, src, mode); in DispatchCmdCopyAccelerationStructureNV()
6199 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdTraceRaysNV() local
6200 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdTraceRaysNV(commandBuffer, raygenSh… in DispatchCmdTraceRaysNV()
6202 raygenShaderBindingTableBuffer = layer_data->Unwrap(raygenShaderBindingTableBuffer); in DispatchCmdTraceRaysNV()
6203 missShaderBindingTableBuffer = layer_data->Unwrap(missShaderBindingTableBuffer); in DispatchCmdTraceRaysNV()
6204 hitShaderBindingTableBuffer = layer_data->Unwrap(hitShaderBindingTableBuffer); in DispatchCmdTraceRaysNV()
6205 callableShaderBindingTableBuffer = layer_data->Unwrap(callableShaderBindingTableBuffer); in DispatchCmdTraceRaysNV()
6207 …layer_data->device_dispatch_table.CmdTraceRaysNV(commandBuffer, raygenShaderBindingTableBuffer, ra… in DispatchCmdTraceRaysNV()
6219 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCreateRayTracingPipelinesNV() local
6220 …if (!wrap_handles) return layer_data->device_dispatch_table.CreateRayTracingPipelinesNV(device, pi… in DispatchCreateRayTracingPipelinesNV()
6223 pipelineCache = layer_data->Unwrap(pipelineCache); in DispatchCreateRayTracingPipelinesNV()
6231 …local_pCreateInfos[index0].pStages[index1].module = layer_data->Unwrap(pCreateInfos[index0].pStage… in DispatchCreateRayTracingPipelinesNV()
6236 … local_pCreateInfos[index0].layout = layer_data->Unwrap(pCreateInfos[index0].layout); in DispatchCreateRayTracingPipelinesNV()
6239 …local_pCreateInfos[index0].basePipelineHandle = layer_data->Unwrap(pCreateInfos[index0].basePipeli… in DispatchCreateRayTracingPipelinesNV()
6244 …VkResult result = layer_data->device_dispatch_table.CreateRayTracingPipelinesNV(device, pipelineCa… in DispatchCreateRayTracingPipelinesNV()
6250 pPipelines[index0] = layer_data->WrapNew(pPipelines[index0]); in DispatchCreateRayTracingPipelinesNV()
6264 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetRayTracingShaderGroupHandlesNV() local
6265 …if (!wrap_handles) return layer_data->device_dispatch_table.GetRayTracingShaderGroupHandlesNV(devi… in DispatchGetRayTracingShaderGroupHandlesNV()
6267 pipeline = layer_data->Unwrap(pipeline); in DispatchGetRayTracingShaderGroupHandlesNV()
6269 …VkResult result = layer_data->device_dispatch_table.GetRayTracingShaderGroupHandlesNV(device, pipe… in DispatchGetRayTracingShaderGroupHandlesNV()
6280 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetAccelerationStructureHandleNV() local
6281 …if (!wrap_handles) return layer_data->device_dispatch_table.GetAccelerationStructureHandleNV(devic… in DispatchGetAccelerationStructureHandleNV()
6283 accelerationStructure = layer_data->Unwrap(accelerationStructure); in DispatchGetAccelerationStructureHandleNV()
6285 …VkResult result = layer_data->device_dispatch_table.GetAccelerationStructureHandleNV(device, accel… in DispatchGetAccelerationStructureHandleNV()
6298 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdWriteAccelerationStructuresPropertiesNV() local
6299 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdWriteAccelerationStructuresProperti… in DispatchCmdWriteAccelerationStructuresPropertiesNV()
6305 … local_pAccelerationStructures[index0] = layer_data->Unwrap(pAccelerationStructures[index0]); in DispatchCmdWriteAccelerationStructuresPropertiesNV()
6308 queryPool = layer_data->Unwrap(queryPool); in DispatchCmdWriteAccelerationStructuresPropertiesNV()
6310 …layer_data->device_dispatch_table.CmdWriteAccelerationStructuresPropertiesNV(commandBuffer, accele… in DispatchCmdWriteAccelerationStructuresPropertiesNV()
6320 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchCompileDeferredNV() local
6321 …if (!wrap_handles) return layer_data->device_dispatch_table.CompileDeferredNV(device, pipeline, sh… in DispatchCompileDeferredNV()
6323 pipeline = layer_data->Unwrap(pipeline); in DispatchCompileDeferredNV()
6325 VkResult result = layer_data->device_dispatch_table.CompileDeferredNV(device, pipeline, shader); in DispatchCompileDeferredNV()
6336 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetMemoryHostPointerPropertiesEXT() local
6337 …VkResult result = layer_data->device_dispatch_table.GetMemoryHostPointerPropertiesEXT(device, hand… in DispatchGetMemoryHostPointerPropertiesEXT()
6349 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdWriteBufferMarkerAMD() local
6350 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdWriteBufferMarkerAMD(commandBuffer,… in DispatchCmdWriteBufferMarkerAMD()
6352 dstBuffer = layer_data->Unwrap(dstBuffer); in DispatchCmdWriteBufferMarkerAMD()
6354 …layer_data->device_dispatch_table.CmdWriteBufferMarkerAMD(commandBuffer, pipelineStage, dstBuffer,… in DispatchCmdWriteBufferMarkerAMD()
6363 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceCalibrateableTimeDomainsEXT() local
6364 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceCalibrateableTimeDomainsEXT… in DispatchGetPhysicalDeviceCalibrateableTimeDomainsEXT()
6376 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetCalibratedTimestampsEXT() local
6377 …VkResult result = layer_data->device_dispatch_table.GetCalibratedTimestampsEXT(device, timestampCo… in DispatchGetCalibratedTimestampsEXT()
6387 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawMeshTasksNV() local
6388 layer_data->device_dispatch_table.CmdDrawMeshTasksNV(commandBuffer, taskCount, firstTask); in DispatchCmdDrawMeshTasksNV()
6399 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawMeshTasksIndirectNV() local
6400 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawMeshTasksIndirectNV(commandBuff… in DispatchCmdDrawMeshTasksIndirectNV()
6402 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawMeshTasksIndirectNV()
6404 …layer_data->device_dispatch_table.CmdDrawMeshTasksIndirectNV(commandBuffer, buffer, offset, drawCo… in DispatchCmdDrawMeshTasksIndirectNV()
6417 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdDrawMeshTasksIndirectCountNV() local
6418 …if (!wrap_handles) return layer_data->device_dispatch_table.CmdDrawMeshTasksIndirectCountNV(comman… in DispatchCmdDrawMeshTasksIndirectCountNV()
6420 buffer = layer_data->Unwrap(buffer); in DispatchCmdDrawMeshTasksIndirectCountNV()
6421 countBuffer = layer_data->Unwrap(countBuffer); in DispatchCmdDrawMeshTasksIndirectCountNV()
6423 …layer_data->device_dispatch_table.CmdDrawMeshTasksIndirectCountNV(commandBuffer, buffer, offset, c… in DispatchCmdDrawMeshTasksIndirectCountNV()
6433 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetExclusiveScissorNV() local
6434 …layer_data->device_dispatch_table.CmdSetExclusiveScissorNV(commandBuffer, firstExclusiveScissor, e… in DispatchCmdSetExclusiveScissorNV()
6442 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetCheckpointNV() local
6443 layer_data->device_dispatch_table.CmdSetCheckpointNV(commandBuffer, pCheckpointMarker); in DispatchCmdSetCheckpointNV()
6452 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchGetQueueCheckpointDataNV() local
6453 …layer_data->device_dispatch_table.GetQueueCheckpointDataNV(queue, pCheckpointDataCount, pCheckpoin… in DispatchGetQueueCheckpointDataNV()
6461 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchInitializePerformanceApiINTEL() local
6462 …VkResult result = layer_data->device_dispatch_table.InitializePerformanceApiINTEL(device, pInitial… in DispatchInitializePerformanceApiINTEL()
6470 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchUninitializePerformanceApiINTEL() local
6471 layer_data->device_dispatch_table.UninitializePerformanceApiINTEL(device); in DispatchUninitializePerformanceApiINTEL()
6479 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetPerformanceMarkerINTEL() local
6480 …VkResult result = layer_data->device_dispatch_table.CmdSetPerformanceMarkerINTEL(commandBuffer, pM… in DispatchCmdSetPerformanceMarkerINTEL()
6489 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetPerformanceStreamMarkerINTEL() local
6490 …VkResult result = layer_data->device_dispatch_table.CmdSetPerformanceStreamMarkerINTEL(commandBuff… in DispatchCmdSetPerformanceStreamMarkerINTEL()
6499 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetPerformanceOverrideINTEL() local
6500 …VkResult result = layer_data->device_dispatch_table.CmdSetPerformanceOverrideINTEL(commandBuffer, … in DispatchCmdSetPerformanceOverrideINTEL()
6510 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAcquirePerformanceConfigurationINTEL() local
6511 …if (!wrap_handles) return layer_data->device_dispatch_table.AcquirePerformanceConfigurationINTEL(d… in DispatchAcquirePerformanceConfigurationINTEL()
6513 pConfiguration = layer_data->Unwrap(pConfiguration); in DispatchAcquirePerformanceConfigurationINTEL()
6515 …VkResult result = layer_data->device_dispatch_table.AcquirePerformanceConfigurationINTEL(device, p… in DispatchAcquirePerformanceConfigurationINTEL()
6524 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchReleasePerformanceConfigurationINTEL() local
6525 …if (!wrap_handles) return layer_data->device_dispatch_table.ReleasePerformanceConfigurationINTEL(d… in DispatchReleasePerformanceConfigurationINTEL()
6527 configuration = layer_data->Unwrap(configuration); in DispatchReleasePerformanceConfigurationINTEL()
6529 …VkResult result = layer_data->device_dispatch_table.ReleasePerformanceConfigurationINTEL(device, c… in DispatchReleasePerformanceConfigurationINTEL()
6538 auto layer_data = GetLayerDataPtr(get_dispatch_key(queue), layer_data_map); in DispatchQueueSetPerformanceConfigurationINTEL() local
6539 …if (!wrap_handles) return layer_data->device_dispatch_table.QueueSetPerformanceConfigurationINTEL(… in DispatchQueueSetPerformanceConfigurationINTEL()
6541 configuration = layer_data->Unwrap(configuration); in DispatchQueueSetPerformanceConfigurationINTEL()
6543 …VkResult result = layer_data->device_dispatch_table.QueueSetPerformanceConfigurationINTEL(queue, c… in DispatchQueueSetPerformanceConfigurationINTEL()
6553 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetPerformanceParameterINTEL() local
6554 …VkResult result = layer_data->device_dispatch_table.GetPerformanceParameterINTEL(device, parameter… in DispatchGetPerformanceParameterINTEL()
6564 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchSetLocalDimmingAMD() local
6565 …if (!wrap_handles) return layer_data->device_dispatch_table.SetLocalDimmingAMD(device, swapChain, … in DispatchSetLocalDimmingAMD()
6567 swapChain = layer_data->Unwrap(swapChain); in DispatchSetLocalDimmingAMD()
6569 layer_data->device_dispatch_table.SetLocalDimmingAMD(device, swapChain, localDimmingEnable); in DispatchSetLocalDimmingAMD()
6581 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateImagePipeSurfaceFUCHSIA() local
6582 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateImagePipeSurfaceFUCHSIA(instan… in DispatchCreateImagePipeSurfaceFUCHSIA()
6583 …VkResult result = layer_data->instance_dispatch_table.CreateImagePipeSurfaceFUCHSIA(instance, pCre… in DispatchCreateImagePipeSurfaceFUCHSIA()
6585 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateImagePipeSurfaceFUCHSIA()
6599 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateMetalSurfaceEXT() local
6600 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateMetalSurfaceEXT(instance, pCre… in DispatchCreateMetalSurfaceEXT()
6601 …VkResult result = layer_data->instance_dispatch_table.CreateMetalSurfaceEXT(instance, pCreateInfo,… in DispatchCreateMetalSurfaceEXT()
6603 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateMetalSurfaceEXT()
6613 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetBufferDeviceAddressEXT() local
6614 …if (!wrap_handles) return layer_data->device_dispatch_table.GetBufferDeviceAddressEXT(device, pInf… in DispatchGetBufferDeviceAddressEXT()
6620 local_pInfo->buffer = layer_data->Unwrap(pInfo->buffer); in DispatchGetBufferDeviceAddressEXT()
6624 …VkDeviceAddress result = layer_data->device_dispatch_table.GetBufferDeviceAddressEXT(device, (cons… in DispatchGetBufferDeviceAddressEXT()
6636 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceCooperativeMatrixPropertiesNV() local
6637 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceCooperativeMatrixProperties… in DispatchGetPhysicalDeviceCooperativeMatrixPropertiesNV()
6647 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV() local
6648 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSupportedFramebufferMixedSa… in DispatchGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV()
6661 auto layer_data = GetLayerDataPtr(get_dispatch_key(physicalDevice), layer_data_map); in DispatchGetPhysicalDeviceSurfacePresentModes2EXT() local
6662 …if (!wrap_handles) return layer_data->instance_dispatch_table.GetPhysicalDeviceSurfacePresentModes… in DispatchGetPhysicalDeviceSurfacePresentModes2EXT()
6668 local_pSurfaceInfo->surface = layer_data->Unwrap(pSurfaceInfo->surface); in DispatchGetPhysicalDeviceSurfacePresentModes2EXT()
6672 …VkResult result = layer_data->instance_dispatch_table.GetPhysicalDeviceSurfacePresentModes2EXT(phy… in DispatchGetPhysicalDeviceSurfacePresentModes2EXT()
6686 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchAcquireFullScreenExclusiveModeEXT() local
6687 …if (!wrap_handles) return layer_data->device_dispatch_table.AcquireFullScreenExclusiveModeEXT(devi… in DispatchAcquireFullScreenExclusiveModeEXT()
6689 swapchain = layer_data->Unwrap(swapchain); in DispatchAcquireFullScreenExclusiveModeEXT()
6691 …VkResult result = layer_data->device_dispatch_table.AcquireFullScreenExclusiveModeEXT(device, swap… in DispatchAcquireFullScreenExclusiveModeEXT()
6703 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchReleaseFullScreenExclusiveModeEXT() local
6704 …if (!wrap_handles) return layer_data->device_dispatch_table.ReleaseFullScreenExclusiveModeEXT(devi… in DispatchReleaseFullScreenExclusiveModeEXT()
6706 swapchain = layer_data->Unwrap(swapchain); in DispatchReleaseFullScreenExclusiveModeEXT()
6708 …VkResult result = layer_data->device_dispatch_table.ReleaseFullScreenExclusiveModeEXT(device, swap… in DispatchReleaseFullScreenExclusiveModeEXT()
6721 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchGetDeviceGroupSurfacePresentModes2EXT() local
6722 …if (!wrap_handles) return layer_data->device_dispatch_table.GetDeviceGroupSurfacePresentModes2EXT(… in DispatchGetDeviceGroupSurfacePresentModes2EXT()
6728 local_pSurfaceInfo->surface = layer_data->Unwrap(pSurfaceInfo->surface); in DispatchGetDeviceGroupSurfacePresentModes2EXT()
6732 …VkResult result = layer_data->device_dispatch_table.GetDeviceGroupSurfacePresentModes2EXT(device, … in DispatchGetDeviceGroupSurfacePresentModes2EXT()
6746 auto layer_data = GetLayerDataPtr(get_dispatch_key(instance), layer_data_map); in DispatchCreateHeadlessSurfaceEXT() local
6747 …if (!wrap_handles) return layer_data->instance_dispatch_table.CreateHeadlessSurfaceEXT(instance, p… in DispatchCreateHeadlessSurfaceEXT()
6748 …VkResult result = layer_data->instance_dispatch_table.CreateHeadlessSurfaceEXT(instance, pCreateIn… in DispatchCreateHeadlessSurfaceEXT()
6750 *pSurface = layer_data->WrapNew(*pSurface); in DispatchCreateHeadlessSurfaceEXT()
6760 auto layer_data = GetLayerDataPtr(get_dispatch_key(commandBuffer), layer_data_map); in DispatchCmdSetLineStippleEXT() local
6761 …layer_data->device_dispatch_table.CmdSetLineStippleEXT(commandBuffer, lineStippleFactor, lineStipp… in DispatchCmdSetLineStippleEXT()
6771 auto layer_data = GetLayerDataPtr(get_dispatch_key(device), layer_data_map); in DispatchResetQueryPoolEXT() local
6772 …if (!wrap_handles) return layer_data->device_dispatch_table.ResetQueryPoolEXT(device, queryPool, f… in DispatchResetQueryPoolEXT()
6774 queryPool = layer_data->Unwrap(queryPool); in DispatchResetQueryPoolEXT()
6776 layer_data->device_dispatch_table.ResetQueryPoolEXT(device, queryPool, firstQuery, queryCount); in DispatchResetQueryPoolEXT()