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