Add dispatch tables

This commit is contained in:
hodasemi 2023-01-10 15:28:48 +01:00
parent 8408f11ada
commit 90b077c237
4 changed files with 973 additions and 564 deletions

361
src/dummy_functions.rs Normal file
View file

@ -0,0 +1,361 @@
#![allow(non_camel_case_types)]
use vulkan_sys::prelude::*;
// instance
pub type PFN_GetPhysicalDeviceProcAddr = PFN_vkVoidFunction;
pub type PFN_vkEnumerateDeviceLayerProperties = PFN_vkVoidFunction;
pub type PFN_vkEnumerateInstanceVersion = PFN_vkVoidFunction;
pub type PFN_vkEnumeratePhysicalDeviceGroups = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceFeatures2 = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceProperties2 = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceFormatProperties2 = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceImageFormatProperties2 = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalBufferProperties = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalFenceProperties = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalSemaphoreProperties = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceToolProperties = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDevicePresentRectanglesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceDisplayPropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDisplayPlaneSupportedDisplaysKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDisplayModePropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkCreateDisplayModeKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDisplayPlaneCapabilitiesKHR = PFN_vkVoidFunction;
pub type PFN_vkCreateDisplayPlaneSurfaceKHR = PFN_vkVoidFunction;
pub type PFN_vkEnumeratePhysicalDeviceGroupsKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceDisplayProperties2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetDisplayModeProperties2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetDisplayPlaneCapabilities2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR = PFN_vkVoidFunction;
pub type PFN_vkDebugReportMessageEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT = PFN_vkVoidFunction;
pub type PFN_vkSubmitDebugUtilsMessageEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceToolPropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = PFN_vkVoidFunction;
pub type PFN_vkCreateHeadlessSurfaceEXT = PFN_vkVoidFunction;
pub type PFN_vkAcquireDrmDisplayEXT = PFN_vkVoidFunction;
pub type PFN_vkGetDrmDisplayEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetPhysicalDeviceQueueFamilyProperties2 = PFN_vkVoidFunction;
// device
pub type PFN_vkGetDeviceMemoryCommitment = PFN_vkVoidFunction;
pub type PFN_vkQueueBindSparse = PFN_vkVoidFunction;
pub type PFN_vkGetFenceStatus = PFN_vkVoidFunction;
pub type PFN_vkGetRenderAreaGranularity = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceGroupPeerMemoryFeatures = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDeviceMask = PFN_vkVoidFunction;
pub type PFN_vkCmdDispatchBase = PFN_vkVoidFunction;
pub type PFN_vkGetImageSparseMemoryRequirements2 = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceQueue2 = PFN_vkVoidFunction;
pub type PFN_vkCreateSamplerYcbcrConversion = PFN_vkVoidFunction;
pub type PFN_vkDestroySamplerYcbcrConversion = PFN_vkVoidFunction;
pub type PFN_vkCreateDescriptorUpdateTemplate = PFN_vkVoidFunction;
pub type PFN_vkDestroyDescriptorUpdateTemplate = PFN_vkVoidFunction;
pub type PFN_vkUpdateDescriptorSetWithTemplate = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndirectCount = PFN_vkVoidFunction;
pub type PFN_vkCreateRenderPass2 = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndexedIndirectCount = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginRenderPass2 = PFN_vkVoidFunction;
pub type PFN_vkCmdNextSubpass2 = PFN_vkVoidFunction;
pub type PFN_vkCmdEndRenderPass2 = PFN_vkVoidFunction;
pub type PFN_vkResetQueryPool = PFN_vkVoidFunction;
pub type PFN_vkGetSemaphoreCounterValue = PFN_vkVoidFunction;
pub type PFN_vkWaitSemaphores = PFN_vkVoidFunction;
pub type PFN_vkSignalSemaphore = PFN_vkVoidFunction;
pub type PFN_vkGetBufferOpaqueCaptureAddress = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceMemoryOpaqueCaptureAddress = PFN_vkVoidFunction;
pub type PFN_vkCreatePrivateDataSlot = PFN_vkVoidFunction;
pub type PFN_vkDestroyPrivateDataSlot = PFN_vkVoidFunction;
pub type PFN_vkSetPrivateData = PFN_vkVoidFunction;
pub type PFN_vkGetPrivateData = PFN_vkVoidFunction;
pub type PFN_vkCmdSetEvent2 = PFN_vkVoidFunction;
pub type PFN_vkCmdResetEvent2 = PFN_vkVoidFunction;
pub type PFN_vkCmdWaitEvents2 = PFN_vkVoidFunction;
pub type PFN_vkCmdPipelineBarrier2 = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteTimestamp2 = PFN_vkVoidFunction;
pub type PFN_vkQueueSubmit2 = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyBuffer2 = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyImage2 = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyBufferToImage2 = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyImageToBuffer2 = PFN_vkVoidFunction;
pub type PFN_vkCmdBlitImage2 = PFN_vkVoidFunction;
pub type PFN_vkCmdResolveImage2 = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginRendering = PFN_vkVoidFunction;
pub type PFN_vkCmdEndRendering = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCullMode = PFN_vkVoidFunction;
pub type PFN_vkCmdSetFrontFace = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPrimitiveTopology = PFN_vkVoidFunction;
pub type PFN_vkCmdSetViewportWithCount = PFN_vkVoidFunction;
pub type PFN_vkCmdSetScissorWithCount = PFN_vkVoidFunction;
pub type PFN_vkCmdBindVertexBuffers2 = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthTestEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthWriteEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthCompareOp = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthBoundsTestEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetStencilTestEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetStencilOp = PFN_vkVoidFunction;
pub type PFN_vkCmdSetRasterizerDiscardEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthBiasEnable = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPrimitiveRestartEnable = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceBufferMemoryRequirements = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceImageMemoryRequirements = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceImageSparseMemoryRequirements = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkVoidFunction;
pub type PFN_vkAcquireNextImage2KHR = PFN_vkVoidFunction;
pub type PFN_vkCreateSharedSwapchainsKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginRenderingKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdEndRenderingKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDeviceMaskKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdDispatchBaseKHR = PFN_vkVoidFunction;
pub type PFN_vkTrimCommandPoolKHR = PFN_vkVoidFunction;
pub type PFN_vkGetMemoryFdKHR = PFN_vkVoidFunction;
pub type PFN_vkGetMemoryFdPropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkImportSemaphoreFdKHR = PFN_vkVoidFunction;
pub type PFN_vkGetSemaphoreFdKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdPushDescriptorSetKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkVoidFunction;
pub type PFN_vkCreateDescriptorUpdateTemplateKHR = PFN_vkVoidFunction;
pub type PFN_vkDestroyDescriptorUpdateTemplateKHR = PFN_vkVoidFunction;
pub type PFN_vkUpdateDescriptorSetWithTemplateKHR = PFN_vkVoidFunction;
pub type PFN_vkCreateRenderPass2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginRenderPass2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdNextSubpass2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdEndRenderPass2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetSwapchainStatusKHR = PFN_vkVoidFunction;
pub type PFN_vkImportFenceFdKHR = PFN_vkVoidFunction;
pub type PFN_vkGetFenceFdKHR = PFN_vkVoidFunction;
pub type PFN_vkAcquireProfilingLockKHR = PFN_vkVoidFunction;
pub type PFN_vkReleaseProfilingLockKHR = PFN_vkVoidFunction;
pub type PFN_vkGetImageMemoryRequirements2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetBufferMemoryRequirements2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetImageSparseMemoryRequirements2KHR = PFN_vkVoidFunction;
pub type PFN_vkDestroySamplerYcbcrConversionKHR = PFN_vkVoidFunction;
pub type PFN_vkCreateSamplerYcbcrConversionKHR = PFN_vkVoidFunction;
pub type PFN_vkBindBufferMemory2KHR = PFN_vkVoidFunction;
pub type PFN_vkBindImageMemory2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetDescriptorSetLayoutSupportKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndirectCountKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndexedIndirectCountKHR = PFN_vkVoidFunction;
pub type PFN_vkGetSemaphoreCounterValueKHR = PFN_vkVoidFunction;
pub type PFN_vkWaitSemaphoresKHR = PFN_vkVoidFunction;
pub type PFN_vkSignalSemaphoreKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdSetFragmentShadingRateKHR = PFN_vkVoidFunction;
pub type PFN_vkWaitForPresentKHR = PFN_vkVoidFunction;
pub type PFN_vkGetBufferDeviceAddressKHR = PFN_vkVoidFunction;
pub type PFN_vkGetBufferOpaqueCaptureAddressKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPipelineExecutablePropertiesKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPipelineExecutableStatisticsKHR = PFN_vkVoidFunction;
pub type PFN_vkGetPipelineExecutableInternalRepresentationsKHR = PFN_vkVoidFunction;
pub type PFN_vkCmdSetEvent2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdResetEvent2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdWaitEvents2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdPipelineBarrier2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteTimestamp2KHR = PFN_vkVoidFunction;
pub type PFN_vkQueueSubmit2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteBufferMarker2AMD = PFN_vkVoidFunction;
pub type PFN_vkGetQueueCheckpointData2NV = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyBuffer2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyImage2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyBufferToImage2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyImageToBuffer2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdResolveImage2KHR = PFN_vkVoidFunction;
pub type PFN_vkCmdTraceRaysIndirect2KHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceBufferMemoryRequirementsKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceImageMemoryRequirementsKHR = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceImageSparseMemoryRequirementsKHR = PFN_vkVoidFunction;
pub type PFN_vkDebugMarkerSetObjectTagEXT = PFN_vkVoidFunction;
pub type PFN_vkDebugMarkerSetObjectNameEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDebugMarkerBeginEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDebugMarkerEndEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDebugMarkerInsertEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBindTransformFeedbackBuffersEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginTransformFeedbackEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdEndTransformFeedbackEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginQueryIndexedEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdEndQueryIndexedEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndirectByteCountEXT = PFN_vkVoidFunction;
pub type PFN_vkCreateCuModuleNVX = PFN_vkVoidFunction;
pub type PFN_vkCreateCuFunctionNVX = PFN_vkVoidFunction;
pub type PFN_vkDestroyCuModuleNVX = PFN_vkVoidFunction;
pub type PFN_vkDestroyCuFunctionNVX = PFN_vkVoidFunction;
pub type PFN_vkCmdCuLaunchKernelNVX = PFN_vkVoidFunction;
pub type PFN_vkGetImageViewHandleNVX = PFN_vkVoidFunction;
pub type PFN_vkGetImageViewAddressNVX = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndirectCountAMD = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawIndexedIndirectCountAMD = PFN_vkVoidFunction;
pub type PFN_vkGetShaderInfoAMD = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginConditionalRenderingEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdEndConditionalRenderingEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetViewportWScalingNV = PFN_vkVoidFunction;
pub type PFN_vkDisplayPowerControlEXT = PFN_vkVoidFunction;
pub type PFN_vkRegisterDeviceEventEXT = PFN_vkVoidFunction;
pub type PFN_vkRegisterDisplayEventEXT = PFN_vkVoidFunction;
pub type PFN_vkGetSwapchainCounterEXT = PFN_vkVoidFunction;
pub type PFN_vkGetRefreshCycleDurationGOOGLE = PFN_vkVoidFunction;
pub type PFN_vkGetPastPresentationTimingGOOGLE = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDiscardRectangleEXT = PFN_vkVoidFunction;
pub type PFN_vkSetHdrMetadataEXT = PFN_vkVoidFunction;
pub type PFN_vkSetDebugUtilsObjectNameEXT = PFN_vkVoidFunction;
pub type PFN_vkSetDebugUtilsObjectTagEXT = PFN_vkVoidFunction;
pub type PFN_vkQueueBeginDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkQueueEndDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkQueueInsertDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBeginDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdEndDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdInsertDebugUtilsLabelEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetSampleLocationsEXT = PFN_vkVoidFunction;
pub type PFN_vkGetImageDrmFormatModifierPropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkCreateValidationCacheEXT = PFN_vkVoidFunction;
pub type PFN_vkDestroyValidationCacheEXT = PFN_vkVoidFunction;
pub type PFN_vkMergeValidationCachesEXT = PFN_vkVoidFunction;
pub type PFN_vkGetValidationCacheDataEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBindShadingRateImageNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetViewportShadingRatePaletteNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCoarseSampleOrderNV = PFN_vkVoidFunction;
pub type PFN_vkCreateAccelerationStructureNV = PFN_vkVoidFunction;
pub type PFN_vkDestroyAccelerationStructureNV = PFN_vkVoidFunction;
pub type PFN_vkGetAccelerationStructureMemoryRequirementsNV = PFN_vkVoidFunction;
pub type PFN_vkBindAccelerationStructureMemoryNV = PFN_vkVoidFunction;
pub type PFN_vkCmdBuildAccelerationStructureNV = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyAccelerationStructureNV = PFN_vkVoidFunction;
pub type PFN_vkCmdTraceRaysNV = PFN_vkVoidFunction;
pub type PFN_vkCreateRayTracingPipelinesNV = PFN_vkVoidFunction;
pub type PFN_vkGetRayTracingShaderGroupHandlesNV = PFN_vkVoidFunction;
pub type PFN_vkGetAccelerationStructureHandleNV = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteAccelerationStructuresPropertiesNV = PFN_vkVoidFunction;
pub type PFN_vkCompileDeferredNV = PFN_vkVoidFunction;
pub type PFN_vkGetMemoryHostPointerPropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteBufferMarkerAMD = PFN_vkVoidFunction;
pub type PFN_vkGetCalibratedTimestampsEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksNV = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksIndirectNV = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksIndirectCountNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetExclusiveScissorNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCheckpointNV = PFN_vkVoidFunction;
pub type PFN_vkGetQueueCheckpointDataNV = PFN_vkVoidFunction;
pub type PFN_vkInitializePerformanceApiINTEL = PFN_vkVoidFunction;
pub type PFN_vkUninitializePerformanceApiINTEL = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPerformanceMarkerINTEL = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPerformanceStreamMarkerINTEL = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPerformanceOverrideINTEL = PFN_vkVoidFunction;
pub type PFN_vkAcquirePerformanceConfigurationINTEL = PFN_vkVoidFunction;
pub type PFN_vkQueueSetPerformanceConfigurationINTEL = PFN_vkVoidFunction;
pub type PFN_vkGetPerformanceParameterINTEL = PFN_vkVoidFunction;
pub type PFN_vkSetLocalDimmingAMD = PFN_vkVoidFunction;
pub type PFN_vkGetBufferDeviceAddressEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetLineStippleEXT = PFN_vkVoidFunction;
pub type PFN_vkResetQueryPoolEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCullModeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPrimitiveTopologyEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetViewportWithCountEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetScissorWithCountEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBindVertexBuffers2EXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthTestEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthWriteEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthCompareOpEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthBoundsTestEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetStencilTestEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetStencilOpEXT = PFN_vkVoidFunction;
pub type PFN_vkGetGeneratedCommandsMemoryRequirementsNV = PFN_vkVoidFunction;
pub type PFN_vkCmdPreprocessGeneratedCommandsNV = PFN_vkVoidFunction;
pub type PFN_vkCmdExecuteGeneratedCommandsNV = PFN_vkVoidFunction;
pub type PFN_vkCmdBindPipelineShaderGroupNV = PFN_vkVoidFunction;
pub type PFN_vkCreateIndirectCommandsLayoutNV = PFN_vkVoidFunction;
pub type PFN_vkDestroyIndirectCommandsLayoutNV = PFN_vkVoidFunction;
pub type PFN_vkCreatePrivateDataSlotEXT = PFN_vkVoidFunction;
pub type PFN_vkDestroyPrivateDataSlotEXT = PFN_vkVoidFunction;
pub type PFN_vkSetPrivateDataEXT = PFN_vkVoidFunction;
pub type PFN_vkGetPrivateDataEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetFragmentShadingRateEnumNV = PFN_vkVoidFunction;
pub type PFN_vkGetImageSubresourceLayout2EXT = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceFaultInfoEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetVertexInputEXT = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = PFN_vkVoidFunction;
pub type PFN_vkCmdSubpassShadingHUAWEI = PFN_vkVoidFunction;
pub type PFN_vkCmdBindInvocationMaskHUAWEI = PFN_vkVoidFunction;
pub type PFN_vkGetMemoryRemoteAddressNV = PFN_vkVoidFunction;
pub type PFN_vkGetPipelinePropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPatchControlPointsEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetRasterizerDiscardEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthBiasEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetLogicOpEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPrimitiveRestartEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetColorWriteEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMultiEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMultiIndexedEXT = PFN_vkVoidFunction;
pub type PFN_vkCreateMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkDestroyMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBuildMicromapsEXT = PFN_vkVoidFunction;
pub type PFN_vkBuildMicromapsEXT = PFN_vkVoidFunction;
pub type PFN_vkCopyMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkCopyMicromapToMemoryEXT = PFN_vkVoidFunction;
pub type PFN_vkCopyMemoryToMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkWriteMicromapsPropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyMicromapToMemoryEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdCopyMemoryToMicromapEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdWriteMicromapsPropertiesEXT = PFN_vkVoidFunction;
pub type PFN_vkGetDeviceMicromapCompatibilityEXT = PFN_vkVoidFunction;
pub type PFN_vkGetMicromapBuildSizesEXT = PFN_vkVoidFunction;
pub type PFN_vkSetDeviceMemoryPriorityEXT = PFN_vkVoidFunction;
pub type PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE = PFN_vkVoidFunction;
pub type PFN_vkGetDescriptorSetHostMappingVALVE = PFN_vkVoidFunction;
pub type PFN_vkCmdSetTessellationDomainOriginEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthClampEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetPolygonModeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetRasterizationSamplesEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetSampleMaskEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetAlphaToCoverageEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetAlphaToOneEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetLogicOpEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetColorBlendEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetColorBlendEquationEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetColorWriteMaskEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetRasterizationStreamEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetConservativeRasterizationModeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthClipEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetSampleLocationsEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetColorBlendAdvancedEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetProvokingVertexModeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetLineRasterizationModeEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetLineStippleEnableEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetDepthClipNegativeOneToOneEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetViewportWScalingEnableNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCoverageModulationModeNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCoverageModulationTableEnableNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCoverageModulationTableNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetShadingRateImageEnableNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetRepresentativeFragmentTestEnableNV = PFN_vkVoidFunction;
pub type PFN_vkCmdSetCoverageReductionModeNV = PFN_vkVoidFunction;
pub type PFN_vkGetShaderModuleIdentifierEXT = PFN_vkVoidFunction;
pub type PFN_vkGetShaderModuleCreateInfoIdentifierEXT = PFN_vkVoidFunction;
pub type PFN_vkCreateOpticalFlowSessionNV = PFN_vkVoidFunction;
pub type PFN_vkDestroyOpticalFlowSessionNV = PFN_vkVoidFunction;
pub type PFN_vkBindOpticalFlowSessionImageNV = PFN_vkVoidFunction;
pub type PFN_vkCmdOpticalFlowExecuteNV = PFN_vkVoidFunction;
pub type PFN_vkGetFramebufferTilePropertiesQCOM = PFN_vkVoidFunction;
pub type PFN_vkGetDynamicRenderingTilePropertiesQCOM = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksIndirectEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdDrawMeshTasksIndirectCountEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdSetFrontFaceEXT = PFN_vkVoidFunction;
pub type PFN_vkCmdBlitImage2KHR = PFN_vkVoidFunction;

File diff suppressed because it is too large Load diff

View file

@ -1,151 +1,175 @@
#![allow(non_snake_case)]
use vulkan_sys::prelude::*; use vulkan_sys::prelude::*;
use crate::dummy_functions::*;
#[derive(Clone, Default)]
pub struct VkLayerInstanceDispatchTable { pub struct VkLayerInstanceDispatchTable {
// Manually add in GetPhysicalDeviceProcAddr entry // Manually add in GetPhysicalDeviceProcAddr entry
GetPhysicalDeviceProcAddr: PFN_GetPhysicalDeviceProcAddr, pub GetPhysicalDeviceProcAddr: Option<PFN_GetPhysicalDeviceProcAddr>,
// ---- Core 1_0 commands // ---- Core 1_0 commands
CreateInstance: PFN_vkCreateInstance, pub CreateInstance: Option<PFN_vkCreateInstance>,
DestroyInstance: PFN_vkDestroyInstance, pub DestroyInstance: Option<PFN_vkDestroyInstance>,
EnumeratePhysicalDevices: PFN_vkEnumeratePhysicalDevices, pub EnumeratePhysicalDevices: Option<PFN_vkEnumeratePhysicalDevices>,
GetPhysicalDeviceFeatures: PFN_vkGetPhysicalDeviceFeatures, pub GetPhysicalDeviceFeatures: Option<PFN_vkGetPhysicalDeviceFeatures>,
GetPhysicalDeviceFormatProperties: PFN_vkGetPhysicalDeviceFormatProperties, pub GetPhysicalDeviceFormatProperties: Option<PFN_vkGetPhysicalDeviceFormatProperties>,
GetPhysicalDeviceImageFormatProperties: PFN_vkGetPhysicalDeviceImageFormatProperties, pub GetPhysicalDeviceImageFormatProperties:
GetPhysicalDeviceProperties: PFN_vkGetPhysicalDeviceProperties, Option<PFN_vkGetPhysicalDeviceImageFormatProperties>,
GetPhysicalDeviceQueueFamilyProperties: PFN_vkGetPhysicalDeviceQueueFamilyProperties, pub GetPhysicalDeviceProperties: Option<PFN_vkGetPhysicalDeviceProperties>,
GetPhysicalDeviceMemoryProperties: PFN_vkGetPhysicalDeviceMemoryProperties, pub GetPhysicalDeviceQueueFamilyProperties:
GetInstanceProcAddr: PFN_vkGetInstanceProcAddr, Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties>,
CreateDevice: PFN_vkCreateDevice, pub GetPhysicalDeviceMemoryProperties: Option<PFN_vkGetPhysicalDeviceMemoryProperties>,
EnumerateInstanceExtensionProperties: PFN_vkEnumerateInstanceExtensionProperties, pub GetInstanceProcAddr: Option<PFN_vkGetInstanceProcAddr>,
EnumerateDeviceExtensionProperties: PFN_vkEnumerateDeviceExtensionProperties, pub CreateDevice: Option<PFN_vkCreateDevice>,
EnumerateInstanceLayerProperties: PFN_vkEnumerateInstanceLayerProperties, pub EnumerateInstanceExtensionProperties: Option<PFN_vkEnumerateInstanceExtensionProperties>,
EnumerateDeviceLayerProperties: PFN_vkEnumerateDeviceLayerProperties, pub EnumerateDeviceExtensionProperties: Option<PFN_vkEnumerateDeviceExtensionProperties>,
GetPhysicalDeviceSparseImageFormatProperties: pub EnumerateInstanceLayerProperties: Option<PFN_vkEnumerateInstanceLayerProperties>,
PFN_vkGetPhysicalDeviceSparseImageFormatProperties, pub EnumerateDeviceLayerProperties: Option<PFN_vkEnumerateDeviceLayerProperties>,
pub GetPhysicalDeviceSparseImageFormatProperties:
Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties>,
// ---- Core 1_1 commands // ---- Core 1_1 commands
EnumerateInstanceVersion: PFN_vkEnumerateInstanceVersion, pub EnumerateInstanceVersion: Option<PFN_vkEnumerateInstanceVersion>,
EnumeratePhysicalDeviceGroups: PFN_vkEnumeratePhysicalDeviceGroups, pub EnumeratePhysicalDeviceGroups: Option<PFN_vkEnumeratePhysicalDeviceGroups>,
GetPhysicalDeviceFeatures2: PFN_vkGetPhysicalDeviceFeatures2, pub GetPhysicalDeviceFeatures2: Option<PFN_vkGetPhysicalDeviceFeatures2>,
GetPhysicalDeviceProperties2: PFN_vkGetPhysicalDeviceProperties2, pub GetPhysicalDeviceProperties2: Option<PFN_vkGetPhysicalDeviceProperties2>,
GetPhysicalDeviceFormatProperties2: PFN_vkGetPhysicalDeviceFormatProperties2, pub GetPhysicalDeviceFormatProperties2: Option<PFN_vkGetPhysicalDeviceFormatProperties2>,
GetPhysicalDeviceImageFormatProperties2: PFN_vkGetPhysicalDeviceImageFormatProperties2, pub GetPhysicalDeviceImageFormatProperties2:
GetPhysicalDeviceQueueFamilyProperties2: PFN_vkGetPhysicalDeviceQueueFamilyProperties2, Option<PFN_vkGetPhysicalDeviceImageFormatProperties2>,
GetPhysicalDeviceMemoryProperties2: PFN_vkGetPhysicalDeviceMemoryProperties2, pub GetPhysicalDeviceQueueFamilyProperties2:
GetPhysicalDeviceSparseImageFormatProperties2: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2>,
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2, pub GetPhysicalDeviceMemoryProperties2: Option<PFN_vkGetPhysicalDeviceMemoryProperties2>,
GetPhysicalDeviceExternalBufferProperties: PFN_vkGetPhysicalDeviceExternalBufferProperties, pub GetPhysicalDeviceSparseImageFormatProperties2:
GetPhysicalDeviceExternalFenceProperties: PFN_vkGetPhysicalDeviceExternalFenceProperties, Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2>,
GetPhysicalDeviceExternalSemaphoreProperties: pub GetPhysicalDeviceExternalBufferProperties:
PFN_vkGetPhysicalDeviceExternalSemaphoreProperties, Option<PFN_vkGetPhysicalDeviceExternalBufferProperties>,
pub GetPhysicalDeviceExternalFenceProperties:
Option<PFN_vkGetPhysicalDeviceExternalFenceProperties>,
pub GetPhysicalDeviceExternalSemaphoreProperties:
Option<PFN_vkGetPhysicalDeviceExternalSemaphoreProperties>,
// ---- Core 1_3 commands // ---- Core 1_3 commands
GetPhysicalDeviceToolProperties: PFN_vkGetPhysicalDeviceToolProperties, pub GetPhysicalDeviceToolProperties: Option<PFN_vkGetPhysicalDeviceToolProperties>,
// ---- VK_KHR_surface extension commands // ---- VK_KHR_surface extension commands
DestroySurfaceKHR: PFN_vkDestroySurfaceKHR, pub DestroySurfaceKHR: Option<PFN_vkDestroySurfaceKHR>,
GetPhysicalDeviceSurfaceSupportKHR: PFN_vkGetPhysicalDeviceSurfaceSupportKHR, pub GetPhysicalDeviceSurfaceSupportKHR: Option<PFN_vkGetPhysicalDeviceSurfaceSupportKHR>,
GetPhysicalDeviceSurfaceCapabilitiesKHR: PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR, pub GetPhysicalDeviceSurfaceCapabilitiesKHR:
GetPhysicalDeviceSurfaceFormatsKHR: PFN_vkGetPhysicalDeviceSurfaceFormatsKHR, Option<PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR>,
GetPhysicalDeviceSurfacePresentModesKHR: PFN_vkGetPhysicalDeviceSurfacePresentModesKHR, pub GetPhysicalDeviceSurfaceFormatsKHR: Option<PFN_vkGetPhysicalDeviceSurfaceFormatsKHR>,
pub GetPhysicalDeviceSurfacePresentModesKHR:
Option<PFN_vkGetPhysicalDeviceSurfacePresentModesKHR>,
// ---- VK_KHR_swapchain extension commands // ---- VK_KHR_swapchain extension commands
GetPhysicalDevicePresentRectanglesKHR: PFN_vkGetPhysicalDevicePresentRectanglesKHR, pub GetPhysicalDevicePresentRectanglesKHR: Option<PFN_vkGetPhysicalDevicePresentRectanglesKHR>,
// ---- VK_KHR_display extension commands // ---- VK_KHR_display extension commands
GetPhysicalDeviceDisplayPropertiesKHR: PFN_vkGetPhysicalDeviceDisplayPropertiesKHR, pub GetPhysicalDeviceDisplayPropertiesKHR: Option<PFN_vkGetPhysicalDeviceDisplayPropertiesKHR>,
GetPhysicalDeviceDisplayPlanePropertiesKHR: PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR, pub GetPhysicalDeviceDisplayPlanePropertiesKHR:
GetDisplayPlaneSupportedDisplaysKHR: PFN_vkGetDisplayPlaneSupportedDisplaysKHR, Option<PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR>,
GetDisplayModePropertiesKHR: PFN_vkGetDisplayModePropertiesKHR, pub GetDisplayPlaneSupportedDisplaysKHR: Option<PFN_vkGetDisplayPlaneSupportedDisplaysKHR>,
CreateDisplayModeKHR: PFN_vkCreateDisplayModeKHR, pub GetDisplayModePropertiesKHR: Option<PFN_vkGetDisplayModePropertiesKHR>,
GetDisplayPlaneCapabilitiesKHR: PFN_vkGetDisplayPlaneCapabilitiesKHR, pub CreateDisplayModeKHR: Option<PFN_vkCreateDisplayModeKHR>,
CreateDisplayPlaneSurfaceKHR: PFN_vkCreateDisplayPlaneSurfaceKHR, pub GetDisplayPlaneCapabilitiesKHR: Option<PFN_vkGetDisplayPlaneCapabilitiesKHR>,
pub CreateDisplayPlaneSurfaceKHR: Option<PFN_vkCreateDisplayPlaneSurfaceKHR>,
// ---- VK_KHR_get_physical_device_properties2 extension commands // ---- VK_KHR_get_physical_device_properties2 extension commands
GetPhysicalDeviceFeatures2KHR: PFN_vkGetPhysicalDeviceFeatures2KHR, pub GetPhysicalDeviceFeatures2KHR: Option<PFN_vkGetPhysicalDeviceFeatures2KHR>,
GetPhysicalDeviceProperties2KHR: PFN_vkGetPhysicalDeviceProperties2KHR, pub GetPhysicalDeviceProperties2KHR: Option<PFN_vkGetPhysicalDeviceProperties2KHR>,
GetPhysicalDeviceFormatProperties2KHR: PFN_vkGetPhysicalDeviceFormatProperties2KHR, pub GetPhysicalDeviceFormatProperties2KHR: Option<PFN_vkGetPhysicalDeviceFormatProperties2KHR>,
GetPhysicalDeviceImageFormatProperties2KHR: PFN_vkGetPhysicalDeviceImageFormatProperties2KHR, pub GetPhysicalDeviceImageFormatProperties2KHR:
GetPhysicalDeviceQueueFamilyProperties2KHR: PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR, Option<PFN_vkGetPhysicalDeviceImageFormatProperties2KHR>,
GetPhysicalDeviceMemoryProperties2KHR: PFN_vkGetPhysicalDeviceMemoryProperties2KHR, pub GetPhysicalDeviceQueueFamilyProperties2KHR:
GetPhysicalDeviceSparseImageFormatProperties2KHR: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR>,
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR, pub GetPhysicalDeviceMemoryProperties2KHR: Option<PFN_vkGetPhysicalDeviceMemoryProperties2KHR>,
pub GetPhysicalDeviceSparseImageFormatProperties2KHR:
Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR>,
// ---- VK_KHR_device_group_creation extension commands // ---- VK_KHR_device_group_creation extension commands
EnumeratePhysicalDeviceGroupsKHR: PFN_vkEnumeratePhysicalDeviceGroupsKHR, pub EnumeratePhysicalDeviceGroupsKHR: Option<PFN_vkEnumeratePhysicalDeviceGroupsKHR>,
// ---- VK_KHR_external_memory_capabilities extension commands // ---- VK_KHR_external_memory_capabilities extension commands
GetPhysicalDeviceExternalBufferPropertiesKHR: pub GetPhysicalDeviceExternalBufferPropertiesKHR:
PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR, Option<PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR>,
// ---- VK_KHR_external_semaphore_capabilities extension commands // ---- VK_KHR_external_semaphore_capabilities extension commands
GetPhysicalDeviceExternalSemaphorePropertiesKHR: pub GetPhysicalDeviceExternalSemaphorePropertiesKHR:
PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, Option<PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR>,
// ---- VK_KHR_external_fence_capabilities extension commands // ---- VK_KHR_external_fence_capabilities extension commands
GetPhysicalDeviceExternalFencePropertiesKHR: PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR, pub GetPhysicalDeviceExternalFencePropertiesKHR:
Option<PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR>,
// ---- VK_KHR_performance_query extension commands // ---- VK_KHR_performance_query extension commands
EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR: pub EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR:
PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, Option<PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR>,
GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR: pub GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR:
PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, Option<PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR>,
// ---- VK_KHR_get_surface_capabilities2 extension commands // ---- VK_KHR_get_surface_capabilities2 extension commands
GetPhysicalDeviceSurfaceCapabilities2KHR: PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR, pub GetPhysicalDeviceSurfaceCapabilities2KHR:
GetPhysicalDeviceSurfaceFormats2KHR: PFN_vkGetPhysicalDeviceSurfaceFormats2KHR, Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR>,
pub GetPhysicalDeviceSurfaceFormats2KHR: Option<PFN_vkGetPhysicalDeviceSurfaceFormats2KHR>,
// ---- VK_KHR_get_display_properties2 extension commands // ---- VK_KHR_get_display_properties2 extension commands
GetPhysicalDeviceDisplayProperties2KHR: PFN_vkGetPhysicalDeviceDisplayProperties2KHR, pub GetPhysicalDeviceDisplayProperties2KHR:
GetPhysicalDeviceDisplayPlaneProperties2KHR: PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR, Option<PFN_vkGetPhysicalDeviceDisplayProperties2KHR>,
GetDisplayModeProperties2KHR: PFN_vkGetDisplayModeProperties2KHR, pub GetPhysicalDeviceDisplayPlaneProperties2KHR:
GetDisplayPlaneCapabilities2KHR: PFN_vkGetDisplayPlaneCapabilities2KHR, Option<PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR>,
pub GetDisplayModeProperties2KHR: Option<PFN_vkGetDisplayModeProperties2KHR>,
pub GetDisplayPlaneCapabilities2KHR: Option<PFN_vkGetDisplayPlaneCapabilities2KHR>,
// ---- VK_KHR_fragment_shading_rate extension commands // ---- VK_KHR_fragment_shading_rate extension commands
GetPhysicalDeviceFragmentShadingRatesKHR: PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR, pub GetPhysicalDeviceFragmentShadingRatesKHR:
Option<PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR>,
// ---- VK_EXT_debug_report extension commands // ---- VK_EXT_debug_report extension commands
CreateDebugReportCallbackEXT: PFN_vkCreateDebugReportCallbackEXT, pub CreateDebugReportCallbackEXT: Option<PFN_vkCreateDebugReportCallbackEXT>,
DestroyDebugReportCallbackEXT: PFN_vkDestroyDebugReportCallbackEXT, pub DestroyDebugReportCallbackEXT: Option<PFN_vkDestroyDebugReportCallbackEXT>,
DebugReportMessageEXT: PFN_vkDebugReportMessageEXT, pub DebugReportMessageEXT: Option<PFN_vkDebugReportMessageEXT>,
// ---- VK_NV_external_memory_capabilities extension commands // ---- VK_NV_external_memory_capabilities extension commands
GetPhysicalDeviceExternalImageFormatPropertiesNV: pub GetPhysicalDeviceExternalImageFormatPropertiesNV:
PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV, Option<PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV>,
// ---- VK_EXT_display_surface_counter extension commands // ---- VK_EXT_display_surface_counter extension commands
GetPhysicalDeviceSurfaceCapabilities2EXT: PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT, pub GetPhysicalDeviceSurfaceCapabilities2EXT:
Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT>,
// ---- VK_EXT_debug_utils extension commands // ---- VK_EXT_debug_utils extension commands
CreateDebugUtilsMessengerEXT: PFN_vkCreateDebugUtilsMessengerEXT, pub CreateDebugUtilsMessengerEXT: Option<PFN_vkCreateDebugUtilsMessengerEXT>,
DestroyDebugUtilsMessengerEXT: PFN_vkDestroyDebugUtilsMessengerEXT, pub DestroyDebugUtilsMessengerEXT: Option<PFN_vkDestroyDebugUtilsMessengerEXT>,
SubmitDebugUtilsMessageEXT: PFN_vkSubmitDebugUtilsMessageEXT, pub SubmitDebugUtilsMessageEXT: Option<PFN_vkSubmitDebugUtilsMessageEXT>,
// ---- VK_EXT_sample_locations extension commands // ---- VK_EXT_sample_locations extension commands
GetPhysicalDeviceMultisamplePropertiesEXT: PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT, pub GetPhysicalDeviceMultisamplePropertiesEXT:
Option<PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT>,
// ---- VK_EXT_calibrated_timestamps extension commands // ---- VK_EXT_calibrated_timestamps extension commands
GetPhysicalDeviceCalibrateableTimeDomainsEXT: pub GetPhysicalDeviceCalibrateableTimeDomainsEXT:
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, Option<PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT>,
// ---- VK_EXT_tooling_info extension commands // ---- VK_EXT_tooling_info extension commands
GetPhysicalDeviceToolPropertiesEXT: PFN_vkGetPhysicalDeviceToolPropertiesEXT, pub GetPhysicalDeviceToolPropertiesEXT: Option<PFN_vkGetPhysicalDeviceToolPropertiesEXT>,
// ---- VK_NV_cooperative_matrix extension commands // ---- VK_NV_cooperative_matrix extension commands
GetPhysicalDeviceCooperativeMatrixPropertiesNV: pub GetPhysicalDeviceCooperativeMatrixPropertiesNV:
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, Option<PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV>,
// ---- VK_NV_coverage_reduction_mode extension commands // ---- VK_NV_coverage_reduction_mode extension commands
GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV: pub GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV:
PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, Option<PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV>,
// ---- VK_EXT_headless_surface extension commands // ---- VK_EXT_headless_surface extension commands
CreateHeadlessSurfaceEXT: PFN_vkCreateHeadlessSurfaceEXT, pub CreateHeadlessSurfaceEXT: Option<PFN_vkCreateHeadlessSurfaceEXT>,
// ---- VK_EXT_acquire_drm_display extension commands // ---- VK_EXT_acquire_drm_display extension commands
AcquireDrmDisplayEXT: PFN_vkAcquireDrmDisplayEXT, pub AcquireDrmDisplayEXT: Option<PFN_vkAcquireDrmDisplayEXT>,
GetDrmDisplayEXT: PFN_vkGetDrmDisplayEXT, pub GetDrmDisplayEXT: Option<PFN_vkGetDrmDisplayEXT>,
// ---- VK_NV_optical_flow extension commands // ---- VK_NV_optical_flow extension commands
GetPhysicalDeviceOpticalFlowImageFormatsNV: PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV, pub GetPhysicalDeviceOpticalFlowImageFormatsNV:
Option<PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV>,
} }

View file

@ -1,4 +1,7 @@
pub mod dummy_functions;
pub mod enums; pub mod enums;
pub mod layer_device_dispatch_table;
pub mod layer_instance_dispatch_table;
pub mod structs; pub mod structs;
use std::{fs::OpenOptions, io::Write, mem, os::raw::c_char, ptr}; use std::{fs::OpenOptions, io::Write, mem, os::raw::c_char, ptr};