Lines Matching refs:disp
710 ptr_instance->disp = loader_instance_heap_alloc(ptr_instance, sizeof(struct loader_instance_dispatch_table),
712 if (ptr_instance->disp == NULL) {
718 memcpy(&ptr_instance->disp->layer_inst_disp, &instance_disp, sizeof(instance_disp));
771 loader_instance_heap_free(ptr_instance, ptr_instance->disp);
813 const VkLayerInstanceDispatchTable *disp;
839 disp = loader_get_instance_layer_dispatch(instance);
840 disp->DestroyInstance(ptr_instance->instance, pAllocator);
861 loader_instance_heap_free(ptr_instance, ptr_instance->disp);
893 res = inst->disp->layer_inst_disp.EnumeratePhysicalDevices(inst->instance, pPhysicalDeviceCount, pPhysicalDevices);
911 const VkLayerInstanceDispatchTable *disp;
919 disp = loader_get_instance_layer_dispatch(physicalDevice);
920 disp->GetPhysicalDeviceFeatures(unwrapped_phys_dev, pFeatures);
925 const VkLayerInstanceDispatchTable *disp;
933 disp = loader_get_instance_layer_dispatch(physicalDevice);
934 disp->GetPhysicalDeviceFormatProperties(unwrapped_phys_dev, format, pFormatInfo);
940 const VkLayerInstanceDispatchTable *disp;
948 disp = loader_get_instance_layer_dispatch(physicalDevice);
949 return disp->GetPhysicalDeviceImageFormatProperties(unwrapped_phys_dev, format, type, tiling, usage, flags,
955 const VkLayerInstanceDispatchTable *disp;
963 disp = loader_get_instance_layer_dispatch(physicalDevice);
964 disp->GetPhysicalDeviceProperties(unwrapped_phys_dev, pProperties);
970 const VkLayerInstanceDispatchTable *disp;
978 disp = loader_get_instance_layer_dispatch(physicalDevice);
979 disp->GetPhysicalDeviceQueueFamilyProperties(unwrapped_phys_dev, pQueueFamilyPropertyCount, pQueueProperties);
984 const VkLayerInstanceDispatchTable *disp;
992 disp = loader_get_instance_layer_dispatch(physicalDevice);
993 disp->GetPhysicalDeviceMemoryProperties(unwrapped_phys_dev, pMemoryProperties);
1010 const VkLayerDispatchTable *disp;
1015 disp = loader_get_dispatch(device);
1016 if (NULL == disp) {
1024 loader_layer_destroy_device(device, pAllocator, disp->DestroyDevice);
1034 const VkLayerInstanceDispatchTable *disp;
1049 disp = loader_get_instance_layer_dispatch(physicalDevice);
1050 res = disp->EnumerateDeviceExtensionProperties(phys_dev->phys_dev, pLayerName, pPropertyCount, pProperties);
1103 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1104 if (NULL == disp) {
1110 disp->GetDeviceQueue(device, queueNodeIndex, queueIndex, pQueue);
1112 loader_set_dispatch(*pQueue, disp);
1118 const VkLayerDispatchTable *disp = loader_get_dispatch(queue);
1119 if (NULL == disp) {
1125 return disp->QueueSubmit(queue, submitCount, pSubmits, fence);
1129 const VkLayerDispatchTable *disp = loader_get_dispatch(queue);
1130 if (NULL == disp) {
1136 return disp->QueueWaitIdle(queue);
1140 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1141 if (NULL == disp) {
1147 return disp->DeviceWaitIdle(device);
1152 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1153 if (NULL == disp) {
1159 return disp->AllocateMemory(device, pAllocateInfo, pAllocator, pMemory);
1164 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1165 if (NULL == disp) {
1171 disp->FreeMemory(device, mem, pAllocator);
1176 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1177 if (NULL == disp) {
1183 return disp->MapMemory(device, mem, offset, size, flags, ppData);
1187 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1188 if (NULL == disp) {
1194 disp->UnmapMemory(device, mem);
1199 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1200 if (NULL == disp) {
1206 return disp->FlushMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
1211 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1212 if (NULL == disp) {
1218 return disp->InvalidateMappedMemoryRanges(device, memoryRangeCount, pMemoryRanges);
1223 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1224 if (NULL == disp) {
1230 disp->GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes);
1235 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1236 if (NULL == disp) {
1242 return disp->BindBufferMemory(device, buffer, mem, offset);
1247 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1248 if (NULL == disp) {
1254 return disp->BindImageMemory(device, image, mem, offset);
1259 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1260 if (NULL == disp) {
1266 disp->GetBufferMemoryRequirements(device, buffer, pMemoryRequirements);
1271 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1272 if (NULL == disp) {
1278 disp->GetImageMemoryRequirements(device, image, pMemoryRequirements);
1284 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1285 if (NULL == disp) {
1291 disp->GetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
1297 const VkLayerInstanceDispatchTable *disp;
1306 disp = loader_get_instance_layer_dispatch(physicalDevice);
1307 disp->GetPhysicalDeviceSparseImageFormatProperties(unwrapped_phys_dev, format, type, samples, usage, tiling, pPropertyCount,
1313 const VkLayerDispatchTable *disp = loader_get_dispatch(queue);
1314 if (NULL == disp) {
1320 return disp->QueueBindSparse(queue, bindInfoCount, pBindInfo, fence);
1325 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1326 if (NULL == disp) {
1332 return disp->CreateFence(device, pCreateInfo, pAllocator, pFence);
1336 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1337 if (NULL == disp) {
1343 disp->DestroyFence(device, fence, pAllocator);
1347 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1348 if (NULL == disp) {
1354 return disp->ResetFences(device, fenceCount, pFences);
1358 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1359 if (NULL == disp) {
1365 return disp->GetFenceStatus(device, fence);
1370 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1371 if (NULL == disp) {
1377 return disp->WaitForFences(device, fenceCount, pFences, waitAll, timeout);
1382 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1383 if (NULL == disp) {
1389 return disp->CreateSemaphore(device, pCreateInfo, pAllocator, pSemaphore);
1394 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1395 if (NULL == disp) {
1401 disp->DestroySemaphore(device, semaphore, pAllocator);
1406 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1407 if (NULL == disp) {
1413 return disp->CreateEvent(device, pCreateInfo, pAllocator, pEvent);
1417 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1418 if (NULL == disp) {
1424 disp->DestroyEvent(device, event, pAllocator);
1428 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1429 if (NULL == disp) {
1435 return disp->GetEventStatus(device, event);
1439 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1440 if (NULL == disp) {
1446 return disp->SetEvent(device, event);
1450 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1451 if (NULL == disp) {
1457 return disp->ResetEvent(device, event);
1462 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1463 if (NULL == disp) {
1469 return disp->CreateQueryPool(device, pCreateInfo, pAllocator, pQueryPool);
1474 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1475 if (NULL == disp) {
1481 disp->DestroyQueryPool(device, queryPool, pAllocator);
1487 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1488 if (NULL == disp) {
1494 return disp->GetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
1499 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1500 if (NULL == disp) {
1506 return disp->CreateBuffer(device, pCreateInfo, pAllocator, pBuffer);
1511 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1512 if (NULL == disp) {
1518 disp->DestroyBuffer(device, buffer, pAllocator);
1523 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1524 if (NULL == disp) {
1530 return disp->CreateBufferView(device, pCreateInfo, pAllocator, pView);
1535 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1536 if (NULL == disp) {
1542 disp->DestroyBufferView(device, bufferView, pAllocator);
1547 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1548 if (NULL == disp) {
1554 return disp->CreateImage(device, pCreateInfo, pAllocator, pImage);
1558 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1559 if (NULL == disp) {
1565 disp->DestroyImage(device, image, pAllocator);
1571 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1572 if (NULL == disp) {
1578 disp->GetImageSubresourceLayout(device, image, pSubresource, pLayout);
1583 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1584 if (NULL == disp) {
1590 return disp->CreateImageView(device, pCreateInfo, pAllocator, pView);
1595 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1596 if (NULL == disp) {
1602 disp->DestroyImageView(device, imageView, pAllocator);
1608 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1609 if (NULL == disp) {
1615 return disp->CreateShaderModule(device, pCreateInfo, pAllocator, pShader);
1620 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1621 if (NULL == disp) {
1627 disp->DestroyShaderModule(device, shaderModule, pAllocator);
1633 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1634 if (NULL == disp) {
1640 return disp->CreatePipelineCache(device, pCreateInfo, pAllocator, pPipelineCache);
1645 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1646 if (NULL == disp) {
1652 disp->DestroyPipelineCache(device, pipelineCache, pAllocator);
1657 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1658 if (NULL == disp) {
1664 return disp->GetPipelineCacheData(device, pipelineCache, pDataSize, pData);
1669 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1670 if (NULL == disp) {
1676 return disp->MergePipelineCaches(device, dstCache, srcCacheCount, pSrcCaches);
1684 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1685 if (NULL == disp) {
1691 return disp->CreateGraphicsPipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
1699 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1700 if (NULL == disp) {
1706 return disp->CreateComputePipelines(device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
1711 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1712 if (NULL == disp) {
1718 disp->DestroyPipeline(device, pipeline, pAllocator);
1724 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1725 if (NULL == disp) {
1731 return disp->CreatePipelineLayout(device, pCreateInfo, pAllocator, pPipelineLayout);
1736 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1737 if (NULL == disp) {
1743 disp->DestroyPipelineLayout(device, pipelineLayout, pAllocator);
1748 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1749 if (NULL == disp) {
1755 return disp->CreateSampler(device, pCreateInfo, pAllocator, pSampler);
1760 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1761 if (NULL == disp) {
1767 disp->DestroySampler(device, sampler, pAllocator);
1774 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1775 if (NULL == disp) {
1781 return disp->CreateDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout);
1786 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1787 if (NULL == disp) {
1793 disp->DestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator);
1799 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1800 if (NULL == disp) {
1806 return disp->CreateDescriptorPool(device, pCreateInfo, pAllocator, pDescriptorPool);
1811 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1812 if (NULL == disp) {
1818 disp->DestroyDescriptorPool(device, descriptorPool, pAllocator);
1823 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1824 if (NULL == disp) {
1830 return disp->ResetDescriptorPool(device, descriptorPool, flags);
1836 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1837 if (NULL == disp) {
1843 return disp->AllocateDescriptorSets(device, pAllocateInfo, pDescriptorSets);
1849 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1850 if (NULL == disp) {
1856 return disp->FreeDescriptorSets(device, descriptorPool, descriptorSetCount, pDescriptorSets);
1863 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1864 if (NULL == disp) {
1870 disp->UpdateDescriptorSets(device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
1876 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1877 if (NULL == disp) {
1883 return disp->CreateFramebuffer(device, pCreateInfo, pAllocator, pFramebuffer);
1888 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1889 if (NULL == disp) {
1895 disp->DestroyFramebuffer(device, framebuffer, pAllocator);
1901 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1902 if (NULL == disp) {
1908 return disp->CreateRenderPass(device, pCreateInfo, pAllocator, pRenderPass);
1913 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1914 if (NULL == disp) {
1920 disp->DestroyRenderPass(device, renderPass, pAllocator);
1925 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1926 if (NULL == disp) {
1932 disp->GetRenderAreaGranularity(device, renderPass, pGranularity);
1938 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1939 if (NULL == disp) {
1945 return disp->CreateCommandPool(device, pCreateInfo, pAllocator, pCommandPool);
1950 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1951 if (NULL == disp) {
1957 disp->DestroyCommandPool(device, commandPool, pAllocator);
1962 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1963 if (NULL == disp) {
1969 return disp->ResetCommandPool(device, commandPool, flags);
1976 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1977 if (NULL == disp) {
1983 res = disp->AllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers);
1987 loader_set_dispatch(pCommandBuffers[i], disp);
1997 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
1998 if (NULL == disp) {
2004 disp->FreeCommandBuffers(device, commandPool, commandBufferCount, pCommandBuffers);
2009 const VkLayerDispatchTable *disp;
2011 disp = loader_get_dispatch(commandBuffer);
2012 if (NULL == disp) {
2018 return disp->BeginCommandBuffer(commandBuffer, pBeginInfo);
2022 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2023 if (NULL == disp) {
2029 return disp->EndCommandBuffer(commandBuffer);
2033 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2034 if (NULL == disp) {
2040 return disp->ResetCommandBuffer(commandBuffer, flags);
2045 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2046 if (NULL == disp) {
2052 disp->CmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline);
2057 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2058 if (NULL == disp) {
2064 disp->CmdSetViewport(commandBuffer, firstViewport, viewportCount, pViewports);
2069 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2070 if (NULL == disp) {
2076 disp->CmdSetScissor(commandBuffer, firstScissor, scissorCount, pScissors);
2080 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2081 if (NULL == disp) {
2087 disp->CmdSetLineWidth(commandBuffer, lineWidth);
2092 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2093 if (NULL == disp) {
2099 disp->CmdSetDepthBias(commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
2103 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2104 if (NULL == disp) {
2110 disp->CmdSetBlendConstants(commandBuffer, blendConstants);
2115 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2116 if (NULL == disp) {
2122 disp->CmdSetDepthBounds(commandBuffer, minDepthBounds, maxDepthBounds);
2127 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2128 if (NULL == disp) {
2134 disp->CmdSetStencilCompareMask(commandBuffer, faceMask, compareMask);
2139 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2140 if (NULL == disp) {
2146 disp->CmdSetStencilWriteMask(commandBuffer, faceMask, writeMask);
2151 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2152 if (NULL == disp) {
2158 disp->CmdSetStencilReference(commandBuffer, faceMask, reference);
2166 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2167 if (NULL == disp) {
2173 disp->CmdBindDescriptorSets(commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets,
2179 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2180 if (NULL == disp) {
2186 disp->CmdBindIndexBuffer(commandBuffer, buffer, offset, indexType);
2192 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2193 if (NULL == disp) {
2199 disp->CmdBindVertexBuffers(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
2204 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2205 if (NULL == disp) {
2211 disp->CmdDraw(commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
2217 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2218 if (NULL == disp) {
2224 disp->CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
2229 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2230 if (NULL == disp) {
2236 disp->CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride);
2241 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2242 if (NULL == disp) {
2248 disp->CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride);
2252 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2253 if (NULL == disp) {
2259 disp->CmdDispatch(commandBuffer, x, y, z);
2264 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2265 if (NULL == disp) {
2271 disp->CmdDispatchIndirect(commandBuffer, buffer, offset);
2276 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2277 if (NULL == disp) {
2283 disp->CmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
2290 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2291 if (NULL == disp) {
2297 disp->CmdCopyImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
2304 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2305 if (NULL == disp) {
2311 disp->CmdBlitImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
2317 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2318 if (NULL == disp) {
2324 disp->CmdCopyBufferToImage(commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
2330 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2331 if (NULL == disp) {
2337 disp->CmdCopyImageToBuffer(commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
2342 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2343 if (NULL == disp) {
2349 disp->CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData);
2354 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2355 if (NULL == disp) {
2361 disp->CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data);
2367 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2368 if (NULL == disp) {
2374 disp->CmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
2381 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2382 if (NULL == disp) {
2388 disp->CmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
2394 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2395 if (NULL == disp) {
2401 disp->CmdClearAttachments(commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
2408 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2409 if (NULL == disp) {
2415 disp->CmdResolveImage(commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
2420 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2421 if (NULL == disp) {
2427 disp->CmdSetEvent(commandBuffer, event, stageMask);
2432 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2433 if (NULL == disp) {
2439 disp->CmdResetEvent(commandBuffer, event, stageMask);
2449 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2450 if (NULL == disp) {
2456 disp->CmdWaitEvents(commandBuffer, eventCount, pEvents, sourceStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers,
2467 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2468 if (NULL == disp) {
2474 disp->CmdPipelineBarrier(commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers,
2480 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2481 if (NULL == disp) {
2487 disp->CmdBeginQuery(commandBuffer, queryPool, slot, flags);
2491 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2492 if (NULL == disp) {
2498 disp->CmdEndQuery(commandBuffer, queryPool, slot);
2503 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2504 if (NULL == disp) {
2510 disp->CmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount);
2515 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2516 if (NULL == disp) {
2522 disp->CmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, slot);
2528 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2529 if (NULL == disp) {
2535 disp->CmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
2541 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2542 if (NULL == disp) {
2548 disp->CmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues);
2554 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2555 if (NULL == disp) {
2561 disp->CmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents);
2565 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2566 if (NULL == disp) {
2572 disp->CmdNextSubpass(commandBuffer, contents);
2576 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2577 if (NULL == disp) {
2583 disp->CmdEndRenderPass(commandBuffer);
2588 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2589 if (NULL == disp) {
2595 disp->CmdExecuteCommands(commandBuffer, commandBuffersCount, pCommandBuffers);
2624 res = inst->disp->layer_inst_disp.EnumeratePhysicalDeviceGroups(inst->instance, pPhysicalDeviceGroupCount,
2649 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2653 disp->GetPhysicalDeviceFeatures2KHR(unwrapped_phys_dev, pFeatures);
2655 disp->GetPhysicalDeviceFeatures2(unwrapped_phys_dev, pFeatures);
2668 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2672 disp->GetPhysicalDeviceProperties2KHR(unwrapped_phys_dev, pProperties);
2674 disp->GetPhysicalDeviceProperties2(unwrapped_phys_dev, pProperties);
2687 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2691 disp->GetPhysicalDeviceFormatProperties2KHR(unwrapped_phys_dev, format, pFormatProperties);
2693 disp->GetPhysicalDeviceFormatProperties2(unwrapped_phys_dev, format, pFormatProperties);
2707 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2711 return disp->GetPhysicalDeviceImageFormatProperties2KHR(unwrapped_phys_dev, pImageFormatInfo, pImageFormatProperties);
2713 return disp->GetPhysicalDeviceImageFormatProperties2(unwrapped_phys_dev, pImageFormatInfo, pImageFormatProperties);
2726 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2730 disp->GetPhysicalDeviceQueueFamilyProperties2KHR(unwrapped_phys_dev, pQueueFamilyPropertyCount, pQueueFamilyProperties);
2732 disp->GetPhysicalDeviceQueueFamilyProperties2(unwrapped_phys_dev, pQueueFamilyPropertyCount, pQueueFamilyProperties);
2745 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2749 disp->GetPhysicalDeviceMemoryProperties2KHR(unwrapped_phys_dev, pMemoryProperties);
2751 disp->GetPhysicalDeviceMemoryProperties2(unwrapped_phys_dev, pMemoryProperties);
2765 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2769 disp->GetPhysicalDeviceSparseImageFormatProperties2KHR(unwrapped_phys_dev, pFormatInfo, pPropertyCount, pProperties);
2771 disp->GetPhysicalDeviceSparseImageFormatProperties2(unwrapped_phys_dev, pFormatInfo, pPropertyCount, pProperties);
2785 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2789 disp->GetPhysicalDeviceExternalBufferPropertiesKHR(unwrapped_phys_dev, pExternalBufferInfo, pExternalBufferProperties);
2791 disp->GetPhysicalDeviceExternalBufferProperties(unwrapped_phys_dev, pExternalBufferInfo, pExternalBufferProperties);
2805 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2809 disp->GetPhysicalDeviceExternalSemaphorePropertiesKHR(unwrapped_phys_dev, pExternalSemaphoreInfo,
2812 disp->GetPhysicalDeviceExternalSemaphoreProperties(unwrapped_phys_dev, pExternalSemaphoreInfo,
2827 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
2831 disp->GetPhysicalDeviceExternalFencePropertiesKHR(unwrapped_phys_dev, pExternalFenceInfo, pExternalFenceProperties);
2833 disp->GetPhysicalDeviceExternalFenceProperties(unwrapped_phys_dev, pExternalFenceInfo, pExternalFenceProperties);
2839 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2840 if (NULL == disp) {
2845 return disp->BindBufferMemory2(device, bindInfoCount, pBindInfos);
2850 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2851 if (NULL == disp) {
2856 return disp->BindImageMemory2(device, bindInfoCount, pBindInfos);
2862 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2863 if (NULL == disp) {
2868 disp->GetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
2872 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2873 if (NULL == disp) {
2878 disp->CmdSetDeviceMask(commandBuffer, deviceMask);
2884 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
2885 if (NULL == disp) {
2890 disp->CmdDispatchBase(commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
2895 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2896 if (NULL == disp) {
2901 disp->GetImageMemoryRequirements2(device, pInfo, pMemoryRequirements);
2907 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2908 if (NULL == disp) {
2913 disp->GetBufferMemoryRequirements2(device, pInfo, pMemoryRequirements);
2919 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2920 if (NULL == disp) {
2926 disp->GetImageSparseMemoryRequirements2(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
2931 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2932 if (NULL == disp) {
2937 disp->TrimCommandPool(device, commandPool, flags);
2941 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2942 if (NULL == disp) {
2947 disp->GetDeviceQueue2(device, pQueueInfo, pQueue);
2949 loader_set_dispatch(*pQueue, disp);
2957 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2958 if (NULL == disp) {
2963 return disp->CreateSamplerYcbcrConversion(device, pCreateInfo, pAllocator, pYcbcrConversion);
2968 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2969 if (NULL == disp) {
2974 disp->DestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocator);
2980 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2981 if (NULL == disp) {
2986 disp->GetDescriptorSetLayoutSupport(device, pCreateInfo, pSupport);
2992 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
2993 if (NULL == disp) {
2998 return disp->CreateDescriptorUpdateTemplate(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
3004 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3005 if (NULL == disp) {
3010 disp->DestroyDescriptorUpdateTemplate(device, descriptorUpdateTemplate, pAllocator);
3016 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3017 if (NULL == disp) {
3022 disp->UpdateDescriptorSetWithTemplate(device, descriptorSet, descriptorUpdateTemplate, pData);
3030 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3031 if (NULL == disp) {
3036 return disp->CreateRenderPass2(device, pCreateInfo, pAllocator, pRenderPass);
3042 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3043 if (NULL == disp) {
3048 disp->CmdBeginRenderPass2(commandBuffer, pRenderPassBegin, pSubpassBeginInfo);
3054 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3055 if (NULL == disp) {
3060 disp->CmdNextSubpass2(commandBuffer, pSubpassBeginInfo, pSubpassEndInfo);
3065 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3066 if (NULL == disp) {
3071 disp->CmdEndRenderPass2(commandBuffer, pSubpassEndInfo);
3077 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3078 if (NULL == disp) {
3083 disp->CmdDrawIndirectCount(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
3090 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3091 if (NULL == disp) {
3097 disp->CmdDrawIndexedIndirectCount(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
3101 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3102 if (NULL == disp) {
3107 return disp->GetSemaphoreCounterValue(device, semaphore, pValue);
3112 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3113 if (NULL == disp) {
3118 return disp->WaitSemaphores(device, pWaitInfo, timeout);
3122 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3123 if (NULL == disp) {
3128 return disp->SignalSemaphore(device, pSignalInfo);
3133 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3134 if (NULL == disp) {
3139 return disp->GetBufferDeviceAddress(device, pInfo);
3144 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3145 if (NULL == disp) {
3150 return disp->GetBufferOpaqueCaptureAddress(device, pInfo);
3155 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3156 if (NULL == disp) {
3162 return disp->GetDeviceMemoryOpaqueCaptureAddress(device, pInfo);
3167 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3168 if (NULL == disp) {
3173 disp->ResetQueryPool(device, queryPool, firstQuery, queryCount);
3184 const VkLayerInstanceDispatchTable *disp = loader_get_instance_layer_dispatch(physicalDevice);
3186 return disp->GetPhysicalDeviceToolProperties(unwrapped_phys_dev, pToolCount, pToolProperties);
3192 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3193 disp->CmdBeginRendering(commandBuffer, pRenderingInfo);
3200 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3201 disp->CmdBindVertexBuffers2(commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides);
3205 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3206 disp->CmdBlitImage2(commandBuffer, pBlitImageInfo);
3210 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3211 disp->CmdCopyBuffer2(commandBuffer, pCopyBufferInfo);
3216 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3217 disp->CmdCopyBufferToImage2(commandBuffer, pCopyBufferToImageInfo);
3221 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3222 disp->CmdCopyImage2(commandBuffer, pCopyImageInfo);
3227 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3228 disp->CmdCopyImageToBuffer2(commandBuffer, pCopyImageToBufferInfo);
3232 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3233 disp->CmdEndRendering(commandBuffer);
3238 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3239 disp->CmdPipelineBarrier2(commandBuffer, pDependencyInfo);
3244 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3245 disp->CmdResetEvent2(commandBuffer, event, stageMask);
3250 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3251 disp->CmdResolveImage2(commandBuffer, pResolveImageInfo);
3255 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3256 disp->CmdSetCullMode(commandBuffer, cullMode);
3260 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3261 disp->CmdSetDepthBiasEnable(commandBuffer, depthBiasEnable);
3266 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3267 disp->CmdSetDepthBoundsTestEnable(commandBuffer, depthBoundsTestEnable);
3271 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3272 disp->CmdSetDepthCompareOp(commandBuffer, depthCompareOp);
3276 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3277 disp->CmdSetDepthTestEnable(commandBuffer, depthTestEnable);
3281 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3282 disp->CmdSetDepthWriteEnable(commandBuffer, depthWriteEnable);
3287 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3288 disp->CmdSetEvent2(commandBuffer, event, pDependencyInfo);
3292 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3293 disp->CmdSetFrontFace(commandBuffer, frontFace);
3298 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3299 disp->CmdSetPrimitiveRestartEnable(commandBuffer, primitiveRestartEnable);
3304 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3305 disp->CmdSetPrimitiveTopology(commandBuffer, primitiveTopology);
3310 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3311 disp->CmdSetRasterizerDiscardEnable(commandBuffer, rasterizerDiscardEnable);
3316 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3317 disp->CmdSetScissorWithCount(commandBuffer, scissorCount, pScissors);
3323 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3324 disp->CmdSetStencilOp(commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp);
3328 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3329 disp->CmdSetStencilTestEnable(commandBuffer, stencilTestEnable);
3334 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3335 disp->CmdSetViewportWithCount(commandBuffer, viewportCount, pViewports);
3340 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3341 disp->CmdWaitEvents2(commandBuffer, eventCount, pEvents, pDependencyInfos);
3346 const VkLayerDispatchTable *disp = loader_get_dispatch(commandBuffer);
3347 disp->CmdWriteTimestamp2(commandBuffer, stage, queryPool, query);
3354 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3355 return disp->CreatePrivateDataSlot(device, pCreateInfo, pAllocator, pPrivateDataSlot);
3360 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3361 disp->DestroyPrivateDataSlot(device, privateDataSlot, pAllocator);
3367 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3368 disp->GetDeviceBufferMemoryRequirements(device, pInfo, pMemoryRequirements);
3374 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3375 disp->GetDeviceImageMemoryRequirements(device, pInfo, pMemoryRequirements);
3381 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3382 disp->GetDeviceImageSparseMemoryRequirements(device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
3387 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3388 disp->GetPrivateData(device, objectType, objectHandle, privateDataSlot, pData);
3393 const VkLayerDispatchTable *disp = loader_get_dispatch(device);
3394 return disp->SetPrivateData(device, objectType, objectHandle, privateDataSlot, data);
3399 const VkLayerDispatchTable *disp = loader_get_dispatch(queue);
3400 return disp->QueueSubmit2(queue, submitCount, pSubmits, fence);