winevulkan: Make Vulkan direct Unix calls more similar to __wine_unix_call interface.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3661194f8e
commit
37be098954
|
@ -255,7 +255,7 @@ VkResult WINAPI vkCreateInstance(const VkInstanceCreateInfo *create_info,
|
|||
params.pCreateInfo = create_info;
|
||||
params.pAllocator = allocator;
|
||||
params.pInstance = instance;
|
||||
return unix_funcs->p_vkCreateInstance(¶ms);
|
||||
return unix_funcs->p_vk_call(unix_vkCreateInstance, ¶ms);
|
||||
}
|
||||
|
||||
VkResult WINAPI vkEnumerateInstanceExtensionProperties(const char *layer_name,
|
||||
|
@ -280,7 +280,7 @@ VkResult WINAPI vkEnumerateInstanceExtensionProperties(const char *layer_name,
|
|||
params.pLayerName = layer_name;
|
||||
params.pPropertyCount = count;
|
||||
params.pProperties = properties;
|
||||
return unix_funcs->p_vkEnumerateInstanceExtensionProperties(¶ms);
|
||||
return unix_funcs->p_vk_call(unix_vkEnumerateInstanceExtensionProperties, ¶ms);
|
||||
}
|
||||
|
||||
VkResult WINAPI vkEnumerateInstanceVersion(uint32_t *version)
|
||||
|
@ -296,7 +296,7 @@ VkResult WINAPI vkEnumerateInstanceVersion(uint32_t *version)
|
|||
}
|
||||
|
||||
params.pApiVersion = version;
|
||||
return unix_funcs->p_vkEnumerateInstanceVersion(¶ms);
|
||||
return unix_funcs->p_vk_call(unix_vkEnumerateInstanceVersion, ¶ms);
|
||||
}
|
||||
|
||||
static HANDLE get_display_device_init_mutex(void)
|
||||
|
@ -377,7 +377,7 @@ void WINAPI vkGetPhysicalDeviceProperties2(VkPhysicalDevice phys_dev,
|
|||
|
||||
params.physicalDevice = phys_dev;
|
||||
params.pProperties = properties2;
|
||||
unix_funcs->p_vkGetPhysicalDeviceProperties2(¶ms);
|
||||
unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceProperties2, ¶ms);
|
||||
fill_luid_property(properties2);
|
||||
}
|
||||
|
||||
|
@ -390,7 +390,7 @@ void WINAPI vkGetPhysicalDeviceProperties2KHR(VkPhysicalDevice phys_dev,
|
|||
|
||||
params.physicalDevice = phys_dev;
|
||||
params.pProperties = properties2;
|
||||
unix_funcs->p_vkGetPhysicalDeviceProperties2KHR(¶ms);
|
||||
unix_funcs->p_vk_call(unix_vkGetPhysicalDeviceProperties2KHR, ¶ms);
|
||||
fill_luid_property(properties2);
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,428 +12,420 @@
|
|||
#ifndef __WINE_VULKAN_LOADER_THUNKS_H
|
||||
#define __WINE_VULKAN_LOADER_THUNKS_H
|
||||
|
||||
struct unix_funcs
|
||||
{
|
||||
NTSTATUS (WINAPI *p_vkAcquireNextImage2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAcquireNextImageKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAcquirePerformanceConfigurationINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAcquireProfilingLockKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAllocateCommandBuffers)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAllocateDescriptorSets)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkAllocateMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBeginCommandBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindAccelerationStructureMemoryNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindBufferMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindBufferMemory2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindBufferMemory2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindImageMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindImageMemory2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBindImageMemory2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkBuildAccelerationStructuresKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginConditionalRenderingEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginQuery)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginQueryIndexedEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginRenderPass)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginRenderPass2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginRenderPass2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginRenderingKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBeginTransformFeedbackEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindDescriptorSets)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindIndexBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindInvocationMaskHUAWEI)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindPipeline)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindPipelineShaderGroupNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindShadingRateImageNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindTransformFeedbackBuffersEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindVertexBuffers)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBindVertexBuffers2EXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBlitImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBlitImage2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBuildAccelerationStructureNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBuildAccelerationStructuresIndirectKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdBuildAccelerationStructuresKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdClearAttachments)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdClearColorImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdClearDepthStencilImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyAccelerationStructureNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyAccelerationStructureToMemoryKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyBuffer2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyBufferToImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyBufferToImage2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyImage2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyImageToBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyImageToBuffer2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyMemoryToAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCopyQueryPoolResults)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdCuLaunchKernelNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDebugMarkerBeginEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDebugMarkerEndEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDebugMarkerInsertEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDispatch)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDispatchBase)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDispatchBaseKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDispatchIndirect)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDraw)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndexed)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndexedIndirect)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndexedIndirectCount)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndexedIndirectCountAMD)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndexedIndirectCountKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndirect)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndirectByteCountEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndirectCount)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndirectCountAMD)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawIndirectCountKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawMeshTasksIndirectCountNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawMeshTasksIndirectNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawMeshTasksNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawMultiEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdDrawMultiIndexedEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndConditionalRenderingEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndQuery)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndQueryIndexedEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndRenderPass)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndRenderPass2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndRenderPass2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndRenderingKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdEndTransformFeedbackEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdExecuteCommands)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdExecuteGeneratedCommandsNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdFillBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdInsertDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdNextSubpass)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdNextSubpass2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdNextSubpass2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPipelineBarrier)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPipelineBarrier2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPreprocessGeneratedCommandsNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPushConstants)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPushDescriptorSetKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdPushDescriptorSetWithTemplateKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdResetEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdResetEvent2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdResetQueryPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdResolveImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdResolveImage2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetBlendConstants)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetCheckpointNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetCoarseSampleOrderNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetColorWriteEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetCullModeEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthBias)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthBiasEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthBounds)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthBoundsTestEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthCompareOpEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthTestEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDepthWriteEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDeviceMask)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDeviceMaskKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetDiscardRectangleEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetEvent2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetExclusiveScissorNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetFragmentShadingRateEnumNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetFragmentShadingRateKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetFrontFaceEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetLineStippleEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetLineWidth)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetLogicOpEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPatchControlPointsEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPerformanceMarkerINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPerformanceOverrideINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPerformanceStreamMarkerINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPrimitiveRestartEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetPrimitiveTopologyEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetRasterizerDiscardEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetRayTracingPipelineStackSizeKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetSampleLocationsEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetScissor)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetScissorWithCountEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetStencilCompareMask)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetStencilOpEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetStencilReference)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetStencilTestEnableEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetStencilWriteMask)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetVertexInputEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetViewport)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetViewportShadingRatePaletteNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetViewportWScalingNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSetViewportWithCountEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdSubpassShadingHUAWEI)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdTraceRaysIndirectKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdTraceRaysKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdTraceRaysNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdUpdateBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWaitEvents)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWaitEvents2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteAccelerationStructuresPropertiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteAccelerationStructuresPropertiesNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteBufferMarker2AMD)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteBufferMarkerAMD)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteTimestamp)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCmdWriteTimestamp2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCompileDeferredNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCopyAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCopyAccelerationStructureToMemoryKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCopyMemoryToAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateAccelerationStructureNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateBufferView)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateCommandPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateComputePipelines)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateCuFunctionNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateCuModuleNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDebugReportCallbackEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDebugUtilsMessengerEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDeferredOperationKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDescriptorPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDescriptorSetLayout)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDescriptorUpdateTemplate)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDescriptorUpdateTemplateKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateDevice)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateFence)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateFramebuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateGraphicsPipelines)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateImageView)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateIndirectCommandsLayoutNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateInstance)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreatePipelineCache)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreatePipelineLayout)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreatePrivateDataSlotEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateQueryPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateRayTracingPipelinesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateRayTracingPipelinesNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateRenderPass)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateRenderPass2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateRenderPass2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateSampler)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateSamplerYcbcrConversion)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateSamplerYcbcrConversionKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateSemaphore)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateShaderModule)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateSwapchainKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateValidationCacheEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkCreateWin32SurfaceKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDebugMarkerSetObjectNameEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDebugMarkerSetObjectTagEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDebugReportMessageEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDeferredOperationJoinKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyAccelerationStructureKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyAccelerationStructureNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyBufferView)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyCommandPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyCuFunctionNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyCuModuleNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDebugReportCallbackEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDebugUtilsMessengerEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDeferredOperationKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDescriptorPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDescriptorSetLayout)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDescriptorUpdateTemplate)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDescriptorUpdateTemplateKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyDevice)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyFence)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyFramebuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyImage)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyImageView)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyIndirectCommandsLayoutNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyInstance)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyPipeline)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyPipelineCache)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyPipelineLayout)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyPrivateDataSlotEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyQueryPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyRenderPass)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySampler)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySamplerYcbcrConversion)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySamplerYcbcrConversionKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySemaphore)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyShaderModule)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySurfaceKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroySwapchainKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDestroyValidationCacheEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkDeviceWaitIdle)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEndCommandBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumerateDeviceExtensionProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumerateDeviceLayerProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumerateInstanceExtensionProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumerateInstanceVersion)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumeratePhysicalDeviceGroups)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumeratePhysicalDeviceGroupsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkEnumeratePhysicalDevices)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkFlushMappedMemoryRanges)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkFreeCommandBuffers)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkFreeDescriptorSets)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkFreeMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetAccelerationStructureBuildSizesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetAccelerationStructureDeviceAddressKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetAccelerationStructureHandleNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetAccelerationStructureMemoryRequirementsNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferDeviceAddress)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferDeviceAddressEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferDeviceAddressKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferMemoryRequirements)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferMemoryRequirements2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferMemoryRequirements2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferOpaqueCaptureAddress)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetBufferOpaqueCaptureAddressKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetCalibratedTimestampsEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeferredOperationMaxConcurrencyKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeferredOperationResultKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDescriptorSetLayoutSupport)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDescriptorSetLayoutSupportKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceAccelerationStructureCompatibilityKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceBufferMemoryRequirementsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceGroupPeerMemoryFeatures)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceGroupPeerMemoryFeaturesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceGroupPresentCapabilitiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceGroupSurfacePresentModesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceImageMemoryRequirementsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceImageSparseMemoryRequirementsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceMemoryCommitment)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceMemoryOpaqueCaptureAddress)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceQueue)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceQueue2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetEventStatus)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetFenceStatus)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetGeneratedCommandsMemoryRequirementsNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageMemoryRequirements)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageMemoryRequirements2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageMemoryRequirements2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageSparseMemoryRequirements)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageSparseMemoryRequirements2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageSparseMemoryRequirements2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageSubresourceLayout)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageViewAddressNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetImageViewHandleNVX)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetMemoryHostPointerPropertiesEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPerformanceParameterINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalBufferProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalBufferPropertiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalFenceProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalFencePropertiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalSemaphoreProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFeatures)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFeatures2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFeatures2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFormatProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFormatProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFormatProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceFragmentShadingRatesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceImageFormatProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceImageFormatProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceImageFormatProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceMemoryProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceMemoryProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceMemoryProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceMultisamplePropertiesEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDevicePresentRectanglesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceQueueFamilyProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceQueueFamilyProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceQueueFamilyProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSparseImageFormatProperties)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSparseImageFormatProperties2)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSparseImageFormatProperties2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfaceCapabilities2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfaceFormats2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfaceFormatsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfacePresentModesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceSurfaceSupportKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceToolPropertiesEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPhysicalDeviceWin32PresentationSupportKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPipelineCacheData)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPipelineExecutableInternalRepresentationsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPipelineExecutablePropertiesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPipelineExecutableStatisticsKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetPrivateDataEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetQueryPoolResults)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetQueueCheckpointData2NV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetQueueCheckpointDataNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetRayTracingShaderGroupHandlesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetRayTracingShaderGroupHandlesNV)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetRayTracingShaderGroupStackSizeKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetRenderAreaGranularity)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetSemaphoreCounterValue)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetSemaphoreCounterValueKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetShaderInfoAMD)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetSwapchainImagesKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkGetValidationCacheDataEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkInitializePerformanceApiINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkInvalidateMappedMemoryRanges)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkMapMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkMergePipelineCaches)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkMergeValidationCachesEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueBeginDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueBindSparse)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueEndDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueInsertDebugUtilsLabelEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueuePresentKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueSetPerformanceConfigurationINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueSubmit)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueSubmit2KHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkQueueWaitIdle)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkReleasePerformanceConfigurationINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkReleaseProfilingLockKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetCommandBuffer)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetCommandPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetDescriptorPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetFences)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetQueryPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkResetQueryPoolEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSetDebugUtilsObjectNameEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSetDebugUtilsObjectTagEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSetDeviceMemoryPriorityEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSetEvent)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSetPrivateDataEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSignalSemaphore)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSignalSemaphoreKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkSubmitDebugUtilsMessageEXT)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkTrimCommandPool)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkTrimCommandPoolKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkUninitializePerformanceApiINTEL)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkUnmapMemory)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkUpdateDescriptorSetWithTemplate)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkUpdateDescriptorSetWithTemplateKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkUpdateDescriptorSets)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkWaitForFences)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkWaitForPresentKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkWaitSemaphores)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkWaitSemaphoresKHR)(void *args);
|
||||
NTSTATUS (WINAPI *p_vkWriteAccelerationStructuresPropertiesKHR)(void *args);
|
||||
|
||||
/* winevulkan specific functions */
|
||||
BOOL (WINAPI *p_is_available_instance_function)(VkInstance, const char *);
|
||||
BOOL (WINAPI *p_is_available_device_function)(VkDevice, const char *);
|
||||
};
|
||||
|
||||
enum unix_call
|
||||
{
|
||||
unix_init,
|
||||
unix_vkAcquireNextImage2KHR,
|
||||
unix_vkAcquireNextImageKHR,
|
||||
unix_vkAcquirePerformanceConfigurationINTEL,
|
||||
unix_vkAcquireProfilingLockKHR,
|
||||
unix_vkAllocateCommandBuffers,
|
||||
unix_vkAllocateDescriptorSets,
|
||||
unix_vkAllocateMemory,
|
||||
unix_vkBeginCommandBuffer,
|
||||
unix_vkBindAccelerationStructureMemoryNV,
|
||||
unix_vkBindBufferMemory,
|
||||
unix_vkBindBufferMemory2,
|
||||
unix_vkBindBufferMemory2KHR,
|
||||
unix_vkBindImageMemory,
|
||||
unix_vkBindImageMemory2,
|
||||
unix_vkBindImageMemory2KHR,
|
||||
unix_vkBuildAccelerationStructuresKHR,
|
||||
unix_vkCmdBeginConditionalRenderingEXT,
|
||||
unix_vkCmdBeginDebugUtilsLabelEXT,
|
||||
unix_vkCmdBeginQuery,
|
||||
unix_vkCmdBeginQueryIndexedEXT,
|
||||
unix_vkCmdBeginRenderPass,
|
||||
unix_vkCmdBeginRenderPass2,
|
||||
unix_vkCmdBeginRenderPass2KHR,
|
||||
unix_vkCmdBeginRenderingKHR,
|
||||
unix_vkCmdBeginTransformFeedbackEXT,
|
||||
unix_vkCmdBindDescriptorSets,
|
||||
unix_vkCmdBindIndexBuffer,
|
||||
unix_vkCmdBindInvocationMaskHUAWEI,
|
||||
unix_vkCmdBindPipeline,
|
||||
unix_vkCmdBindPipelineShaderGroupNV,
|
||||
unix_vkCmdBindShadingRateImageNV,
|
||||
unix_vkCmdBindTransformFeedbackBuffersEXT,
|
||||
unix_vkCmdBindVertexBuffers,
|
||||
unix_vkCmdBindVertexBuffers2EXT,
|
||||
unix_vkCmdBlitImage,
|
||||
unix_vkCmdBlitImage2KHR,
|
||||
unix_vkCmdBuildAccelerationStructureNV,
|
||||
unix_vkCmdBuildAccelerationStructuresIndirectKHR,
|
||||
unix_vkCmdBuildAccelerationStructuresKHR,
|
||||
unix_vkCmdClearAttachments,
|
||||
unix_vkCmdClearColorImage,
|
||||
unix_vkCmdClearDepthStencilImage,
|
||||
unix_vkCmdCopyAccelerationStructureKHR,
|
||||
unix_vkCmdCopyAccelerationStructureNV,
|
||||
unix_vkCmdCopyAccelerationStructureToMemoryKHR,
|
||||
unix_vkCmdCopyBuffer,
|
||||
unix_vkCmdCopyBuffer2KHR,
|
||||
unix_vkCmdCopyBufferToImage,
|
||||
unix_vkCmdCopyBufferToImage2KHR,
|
||||
unix_vkCmdCopyImage,
|
||||
unix_vkCmdCopyImage2KHR,
|
||||
unix_vkCmdCopyImageToBuffer,
|
||||
unix_vkCmdCopyImageToBuffer2KHR,
|
||||
unix_vkCmdCopyMemoryToAccelerationStructureKHR,
|
||||
unix_vkCmdCopyQueryPoolResults,
|
||||
unix_vkCmdCuLaunchKernelNVX,
|
||||
unix_vkCmdDebugMarkerBeginEXT,
|
||||
unix_vkCmdDebugMarkerEndEXT,
|
||||
unix_vkCmdDebugMarkerInsertEXT,
|
||||
unix_vkCmdDispatch,
|
||||
unix_vkCmdDispatchBase,
|
||||
unix_vkCmdDispatchBaseKHR,
|
||||
unix_vkCmdDispatchIndirect,
|
||||
unix_vkCmdDraw,
|
||||
unix_vkCmdDrawIndexed,
|
||||
unix_vkCmdDrawIndexedIndirect,
|
||||
unix_vkCmdDrawIndexedIndirectCount,
|
||||
unix_vkCmdDrawIndexedIndirectCountAMD,
|
||||
unix_vkCmdDrawIndexedIndirectCountKHR,
|
||||
unix_vkCmdDrawIndirect,
|
||||
unix_vkCmdDrawIndirectByteCountEXT,
|
||||
unix_vkCmdDrawIndirectCount,
|
||||
unix_vkCmdDrawIndirectCountAMD,
|
||||
unix_vkCmdDrawIndirectCountKHR,
|
||||
unix_vkCmdDrawMeshTasksIndirectCountNV,
|
||||
unix_vkCmdDrawMeshTasksIndirectNV,
|
||||
unix_vkCmdDrawMeshTasksNV,
|
||||
unix_vkCmdDrawMultiEXT,
|
||||
unix_vkCmdDrawMultiIndexedEXT,
|
||||
unix_vkCmdEndConditionalRenderingEXT,
|
||||
unix_vkCmdEndDebugUtilsLabelEXT,
|
||||
unix_vkCmdEndQuery,
|
||||
unix_vkCmdEndQueryIndexedEXT,
|
||||
unix_vkCmdEndRenderPass,
|
||||
unix_vkCmdEndRenderPass2,
|
||||
unix_vkCmdEndRenderPass2KHR,
|
||||
unix_vkCmdEndRenderingKHR,
|
||||
unix_vkCmdEndTransformFeedbackEXT,
|
||||
unix_vkCmdExecuteCommands,
|
||||
unix_vkCmdExecuteGeneratedCommandsNV,
|
||||
unix_vkCmdFillBuffer,
|
||||
unix_vkCmdInsertDebugUtilsLabelEXT,
|
||||
unix_vkCmdNextSubpass,
|
||||
unix_vkCmdNextSubpass2,
|
||||
unix_vkCmdNextSubpass2KHR,
|
||||
unix_vkCmdPipelineBarrier,
|
||||
unix_vkCmdPipelineBarrier2KHR,
|
||||
unix_vkCmdPreprocessGeneratedCommandsNV,
|
||||
unix_vkCmdPushConstants,
|
||||
unix_vkCmdPushDescriptorSetKHR,
|
||||
unix_vkCmdPushDescriptorSetWithTemplateKHR,
|
||||
unix_vkCmdResetEvent,
|
||||
unix_vkCmdResetEvent2KHR,
|
||||
unix_vkCmdResetQueryPool,
|
||||
unix_vkCmdResolveImage,
|
||||
unix_vkCmdResolveImage2KHR,
|
||||
unix_vkCmdSetBlendConstants,
|
||||
unix_vkCmdSetCheckpointNV,
|
||||
unix_vkCmdSetCoarseSampleOrderNV,
|
||||
unix_vkCmdSetColorWriteEnableEXT,
|
||||
unix_vkCmdSetCullModeEXT,
|
||||
unix_vkCmdSetDepthBias,
|
||||
unix_vkCmdSetDepthBiasEnableEXT,
|
||||
unix_vkCmdSetDepthBounds,
|
||||
unix_vkCmdSetDepthBoundsTestEnableEXT,
|
||||
unix_vkCmdSetDepthCompareOpEXT,
|
||||
unix_vkCmdSetDepthTestEnableEXT,
|
||||
unix_vkCmdSetDepthWriteEnableEXT,
|
||||
unix_vkCmdSetDeviceMask,
|
||||
unix_vkCmdSetDeviceMaskKHR,
|
||||
unix_vkCmdSetDiscardRectangleEXT,
|
||||
unix_vkCmdSetEvent,
|
||||
unix_vkCmdSetEvent2KHR,
|
||||
unix_vkCmdSetExclusiveScissorNV,
|
||||
unix_vkCmdSetFragmentShadingRateEnumNV,
|
||||
unix_vkCmdSetFragmentShadingRateKHR,
|
||||
unix_vkCmdSetFrontFaceEXT,
|
||||
unix_vkCmdSetLineStippleEXT,
|
||||
unix_vkCmdSetLineWidth,
|
||||
unix_vkCmdSetLogicOpEXT,
|
||||
unix_vkCmdSetPatchControlPointsEXT,
|
||||
unix_vkCmdSetPerformanceMarkerINTEL,
|
||||
unix_vkCmdSetPerformanceOverrideINTEL,
|
||||
unix_vkCmdSetPerformanceStreamMarkerINTEL,
|
||||
unix_vkCmdSetPrimitiveRestartEnableEXT,
|
||||
unix_vkCmdSetPrimitiveTopologyEXT,
|
||||
unix_vkCmdSetRasterizerDiscardEnableEXT,
|
||||
unix_vkCmdSetRayTracingPipelineStackSizeKHR,
|
||||
unix_vkCmdSetSampleLocationsEXT,
|
||||
unix_vkCmdSetScissor,
|
||||
unix_vkCmdSetScissorWithCountEXT,
|
||||
unix_vkCmdSetStencilCompareMask,
|
||||
unix_vkCmdSetStencilOpEXT,
|
||||
unix_vkCmdSetStencilReference,
|
||||
unix_vkCmdSetStencilTestEnableEXT,
|
||||
unix_vkCmdSetStencilWriteMask,
|
||||
unix_vkCmdSetVertexInputEXT,
|
||||
unix_vkCmdSetViewport,
|
||||
unix_vkCmdSetViewportShadingRatePaletteNV,
|
||||
unix_vkCmdSetViewportWScalingNV,
|
||||
unix_vkCmdSetViewportWithCountEXT,
|
||||
unix_vkCmdSubpassShadingHUAWEI,
|
||||
unix_vkCmdTraceRaysIndirectKHR,
|
||||
unix_vkCmdTraceRaysKHR,
|
||||
unix_vkCmdTraceRaysNV,
|
||||
unix_vkCmdUpdateBuffer,
|
||||
unix_vkCmdWaitEvents,
|
||||
unix_vkCmdWaitEvents2KHR,
|
||||
unix_vkCmdWriteAccelerationStructuresPropertiesKHR,
|
||||
unix_vkCmdWriteAccelerationStructuresPropertiesNV,
|
||||
unix_vkCmdWriteBufferMarker2AMD,
|
||||
unix_vkCmdWriteBufferMarkerAMD,
|
||||
unix_vkCmdWriteTimestamp,
|
||||
unix_vkCmdWriteTimestamp2KHR,
|
||||
unix_vkCompileDeferredNV,
|
||||
unix_vkCopyAccelerationStructureKHR,
|
||||
unix_vkCopyAccelerationStructureToMemoryKHR,
|
||||
unix_vkCopyMemoryToAccelerationStructureKHR,
|
||||
unix_vkCreateAccelerationStructureKHR,
|
||||
unix_vkCreateAccelerationStructureNV,
|
||||
unix_vkCreateBuffer,
|
||||
unix_vkCreateBufferView,
|
||||
unix_vkCreateCommandPool,
|
||||
unix_vkCreateComputePipelines,
|
||||
unix_vkCreateCuFunctionNVX,
|
||||
unix_vkCreateCuModuleNVX,
|
||||
unix_vkCreateDebugReportCallbackEXT,
|
||||
unix_vkCreateDebugUtilsMessengerEXT,
|
||||
unix_vkCreateDeferredOperationKHR,
|
||||
unix_vkCreateDescriptorPool,
|
||||
unix_vkCreateDescriptorSetLayout,
|
||||
unix_vkCreateDescriptorUpdateTemplate,
|
||||
unix_vkCreateDescriptorUpdateTemplateKHR,
|
||||
unix_vkCreateDevice,
|
||||
unix_vkCreateEvent,
|
||||
unix_vkCreateFence,
|
||||
unix_vkCreateFramebuffer,
|
||||
unix_vkCreateGraphicsPipelines,
|
||||
unix_vkCreateImage,
|
||||
unix_vkCreateImageView,
|
||||
unix_vkCreateIndirectCommandsLayoutNV,
|
||||
unix_vkCreateInstance,
|
||||
unix_vkCreatePipelineCache,
|
||||
unix_vkCreatePipelineLayout,
|
||||
unix_vkCreatePrivateDataSlotEXT,
|
||||
unix_vkCreateQueryPool,
|
||||
unix_vkCreateRayTracingPipelinesKHR,
|
||||
unix_vkCreateRayTracingPipelinesNV,
|
||||
unix_vkCreateRenderPass,
|
||||
unix_vkCreateRenderPass2,
|
||||
unix_vkCreateRenderPass2KHR,
|
||||
unix_vkCreateSampler,
|
||||
unix_vkCreateSamplerYcbcrConversion,
|
||||
unix_vkCreateSamplerYcbcrConversionKHR,
|
||||
unix_vkCreateSemaphore,
|
||||
unix_vkCreateShaderModule,
|
||||
unix_vkCreateSwapchainKHR,
|
||||
unix_vkCreateValidationCacheEXT,
|
||||
unix_vkCreateWin32SurfaceKHR,
|
||||
unix_vkDebugMarkerSetObjectNameEXT,
|
||||
unix_vkDebugMarkerSetObjectTagEXT,
|
||||
unix_vkDebugReportMessageEXT,
|
||||
unix_vkDeferredOperationJoinKHR,
|
||||
unix_vkDestroyAccelerationStructureKHR,
|
||||
unix_vkDestroyAccelerationStructureNV,
|
||||
unix_vkDestroyBuffer,
|
||||
unix_vkDestroyBufferView,
|
||||
unix_vkDestroyCommandPool,
|
||||
unix_vkDestroyCuFunctionNVX,
|
||||
unix_vkDestroyCuModuleNVX,
|
||||
unix_vkDestroyDebugReportCallbackEXT,
|
||||
unix_vkDestroyDebugUtilsMessengerEXT,
|
||||
unix_vkDestroyDeferredOperationKHR,
|
||||
unix_vkDestroyDescriptorPool,
|
||||
unix_vkDestroyDescriptorSetLayout,
|
||||
unix_vkDestroyDescriptorUpdateTemplate,
|
||||
unix_vkDestroyDescriptorUpdateTemplateKHR,
|
||||
unix_vkDestroyDevice,
|
||||
unix_vkDestroyEvent,
|
||||
unix_vkDestroyFence,
|
||||
unix_vkDestroyFramebuffer,
|
||||
unix_vkDestroyImage,
|
||||
unix_vkDestroyImageView,
|
||||
unix_vkDestroyIndirectCommandsLayoutNV,
|
||||
unix_vkDestroyInstance,
|
||||
unix_vkDestroyPipeline,
|
||||
unix_vkDestroyPipelineCache,
|
||||
unix_vkDestroyPipelineLayout,
|
||||
unix_vkDestroyPrivateDataSlotEXT,
|
||||
unix_vkDestroyQueryPool,
|
||||
unix_vkDestroyRenderPass,
|
||||
unix_vkDestroySampler,
|
||||
unix_vkDestroySamplerYcbcrConversion,
|
||||
unix_vkDestroySamplerYcbcrConversionKHR,
|
||||
unix_vkDestroySemaphore,
|
||||
unix_vkDestroyShaderModule,
|
||||
unix_vkDestroySurfaceKHR,
|
||||
unix_vkDestroySwapchainKHR,
|
||||
unix_vkDestroyValidationCacheEXT,
|
||||
unix_vkDeviceWaitIdle,
|
||||
unix_vkEndCommandBuffer,
|
||||
unix_vkEnumerateDeviceExtensionProperties,
|
||||
unix_vkEnumerateDeviceLayerProperties,
|
||||
unix_vkEnumerateInstanceExtensionProperties,
|
||||
unix_vkEnumerateInstanceVersion,
|
||||
unix_vkEnumeratePhysicalDeviceGroups,
|
||||
unix_vkEnumeratePhysicalDeviceGroupsKHR,
|
||||
unix_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR,
|
||||
unix_vkEnumeratePhysicalDevices,
|
||||
unix_vkFlushMappedMemoryRanges,
|
||||
unix_vkFreeCommandBuffers,
|
||||
unix_vkFreeDescriptorSets,
|
||||
unix_vkFreeMemory,
|
||||
unix_vkGetAccelerationStructureBuildSizesKHR,
|
||||
unix_vkGetAccelerationStructureDeviceAddressKHR,
|
||||
unix_vkGetAccelerationStructureHandleNV,
|
||||
unix_vkGetAccelerationStructureMemoryRequirementsNV,
|
||||
unix_vkGetBufferDeviceAddress,
|
||||
unix_vkGetBufferDeviceAddressEXT,
|
||||
unix_vkGetBufferDeviceAddressKHR,
|
||||
unix_vkGetBufferMemoryRequirements,
|
||||
unix_vkGetBufferMemoryRequirements2,
|
||||
unix_vkGetBufferMemoryRequirements2KHR,
|
||||
unix_vkGetBufferOpaqueCaptureAddress,
|
||||
unix_vkGetBufferOpaqueCaptureAddressKHR,
|
||||
unix_vkGetCalibratedTimestampsEXT,
|
||||
unix_vkGetDeferredOperationMaxConcurrencyKHR,
|
||||
unix_vkGetDeferredOperationResultKHR,
|
||||
unix_vkGetDescriptorSetLayoutSupport,
|
||||
unix_vkGetDescriptorSetLayoutSupportKHR,
|
||||
unix_vkGetDeviceAccelerationStructureCompatibilityKHR,
|
||||
unix_vkGetDeviceBufferMemoryRequirementsKHR,
|
||||
unix_vkGetDeviceGroupPeerMemoryFeatures,
|
||||
unix_vkGetDeviceGroupPeerMemoryFeaturesKHR,
|
||||
unix_vkGetDeviceGroupPresentCapabilitiesKHR,
|
||||
unix_vkGetDeviceGroupSurfacePresentModesKHR,
|
||||
unix_vkGetDeviceImageMemoryRequirementsKHR,
|
||||
unix_vkGetDeviceImageSparseMemoryRequirementsKHR,
|
||||
unix_vkGetDeviceMemoryCommitment,
|
||||
unix_vkGetDeviceMemoryOpaqueCaptureAddress,
|
||||
unix_vkGetDeviceMemoryOpaqueCaptureAddressKHR,
|
||||
unix_vkGetDeviceQueue,
|
||||
unix_vkGetDeviceQueue2,
|
||||
unix_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI,
|
||||
unix_vkGetEventStatus,
|
||||
unix_vkGetFenceStatus,
|
||||
unix_vkGetGeneratedCommandsMemoryRequirementsNV,
|
||||
unix_vkGetImageMemoryRequirements,
|
||||
unix_vkGetImageMemoryRequirements2,
|
||||
unix_vkGetImageMemoryRequirements2KHR,
|
||||
unix_vkGetImageSparseMemoryRequirements,
|
||||
unix_vkGetImageSparseMemoryRequirements2,
|
||||
unix_vkGetImageSparseMemoryRequirements2KHR,
|
||||
unix_vkGetImageSubresourceLayout,
|
||||
unix_vkGetImageViewAddressNVX,
|
||||
unix_vkGetImageViewHandleNVX,
|
||||
unix_vkGetMemoryHostPointerPropertiesEXT,
|
||||
unix_vkGetPerformanceParameterINTEL,
|
||||
unix_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT,
|
||||
unix_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV,
|
||||
unix_vkGetPhysicalDeviceExternalBufferProperties,
|
||||
unix_vkGetPhysicalDeviceExternalBufferPropertiesKHR,
|
||||
unix_vkGetPhysicalDeviceExternalFenceProperties,
|
||||
unix_vkGetPhysicalDeviceExternalFencePropertiesKHR,
|
||||
unix_vkGetPhysicalDeviceExternalSemaphoreProperties,
|
||||
unix_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR,
|
||||
unix_vkGetPhysicalDeviceFeatures,
|
||||
unix_vkGetPhysicalDeviceFeatures2,
|
||||
unix_vkGetPhysicalDeviceFeatures2KHR,
|
||||
unix_vkGetPhysicalDeviceFormatProperties,
|
||||
unix_vkGetPhysicalDeviceFormatProperties2,
|
||||
unix_vkGetPhysicalDeviceFormatProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceFragmentShadingRatesKHR,
|
||||
unix_vkGetPhysicalDeviceImageFormatProperties,
|
||||
unix_vkGetPhysicalDeviceImageFormatProperties2,
|
||||
unix_vkGetPhysicalDeviceImageFormatProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceMemoryProperties,
|
||||
unix_vkGetPhysicalDeviceMemoryProperties2,
|
||||
unix_vkGetPhysicalDeviceMemoryProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceMultisamplePropertiesEXT,
|
||||
unix_vkGetPhysicalDevicePresentRectanglesKHR,
|
||||
unix_vkGetPhysicalDeviceProperties,
|
||||
unix_vkGetPhysicalDeviceProperties2,
|
||||
unix_vkGetPhysicalDeviceProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR,
|
||||
unix_vkGetPhysicalDeviceQueueFamilyProperties,
|
||||
unix_vkGetPhysicalDeviceQueueFamilyProperties2,
|
||||
unix_vkGetPhysicalDeviceQueueFamilyProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceSparseImageFormatProperties,
|
||||
unix_vkGetPhysicalDeviceSparseImageFormatProperties2,
|
||||
unix_vkGetPhysicalDeviceSparseImageFormatProperties2KHR,
|
||||
unix_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV,
|
||||
unix_vkGetPhysicalDeviceSurfaceCapabilities2KHR,
|
||||
unix_vkGetPhysicalDeviceSurfaceCapabilitiesKHR,
|
||||
unix_vkGetPhysicalDeviceSurfaceFormats2KHR,
|
||||
unix_vkGetPhysicalDeviceSurfaceFormatsKHR,
|
||||
unix_vkGetPhysicalDeviceSurfacePresentModesKHR,
|
||||
unix_vkGetPhysicalDeviceSurfaceSupportKHR,
|
||||
unix_vkGetPhysicalDeviceToolPropertiesEXT,
|
||||
unix_vkGetPhysicalDeviceWin32PresentationSupportKHR,
|
||||
unix_vkGetPipelineCacheData,
|
||||
unix_vkGetPipelineExecutableInternalRepresentationsKHR,
|
||||
unix_vkGetPipelineExecutablePropertiesKHR,
|
||||
unix_vkGetPipelineExecutableStatisticsKHR,
|
||||
unix_vkGetPrivateDataEXT,
|
||||
unix_vkGetQueryPoolResults,
|
||||
unix_vkGetQueueCheckpointData2NV,
|
||||
unix_vkGetQueueCheckpointDataNV,
|
||||
unix_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR,
|
||||
unix_vkGetRayTracingShaderGroupHandlesKHR,
|
||||
unix_vkGetRayTracingShaderGroupHandlesNV,
|
||||
unix_vkGetRayTracingShaderGroupStackSizeKHR,
|
||||
unix_vkGetRenderAreaGranularity,
|
||||
unix_vkGetSemaphoreCounterValue,
|
||||
unix_vkGetSemaphoreCounterValueKHR,
|
||||
unix_vkGetShaderInfoAMD,
|
||||
unix_vkGetSwapchainImagesKHR,
|
||||
unix_vkGetValidationCacheDataEXT,
|
||||
unix_vkInitializePerformanceApiINTEL,
|
||||
unix_vkInvalidateMappedMemoryRanges,
|
||||
unix_vkMapMemory,
|
||||
unix_vkMergePipelineCaches,
|
||||
unix_vkMergeValidationCachesEXT,
|
||||
unix_vkQueueBeginDebugUtilsLabelEXT,
|
||||
unix_vkQueueBindSparse,
|
||||
unix_vkQueueEndDebugUtilsLabelEXT,
|
||||
unix_vkQueueInsertDebugUtilsLabelEXT,
|
||||
unix_vkQueuePresentKHR,
|
||||
unix_vkQueueSetPerformanceConfigurationINTEL,
|
||||
unix_vkQueueSubmit,
|
||||
unix_vkQueueSubmit2KHR,
|
||||
unix_vkQueueWaitIdle,
|
||||
unix_vkReleasePerformanceConfigurationINTEL,
|
||||
unix_vkReleaseProfilingLockKHR,
|
||||
unix_vkResetCommandBuffer,
|
||||
unix_vkResetCommandPool,
|
||||
unix_vkResetDescriptorPool,
|
||||
unix_vkResetEvent,
|
||||
unix_vkResetFences,
|
||||
unix_vkResetQueryPool,
|
||||
unix_vkResetQueryPoolEXT,
|
||||
unix_vkSetDebugUtilsObjectNameEXT,
|
||||
unix_vkSetDebugUtilsObjectTagEXT,
|
||||
unix_vkSetDeviceMemoryPriorityEXT,
|
||||
unix_vkSetEvent,
|
||||
unix_vkSetPrivateDataEXT,
|
||||
unix_vkSignalSemaphore,
|
||||
unix_vkSignalSemaphoreKHR,
|
||||
unix_vkSubmitDebugUtilsMessageEXT,
|
||||
unix_vkTrimCommandPool,
|
||||
unix_vkTrimCommandPoolKHR,
|
||||
unix_vkUninitializePerformanceApiINTEL,
|
||||
unix_vkUnmapMemory,
|
||||
unix_vkUpdateDescriptorSetWithTemplate,
|
||||
unix_vkUpdateDescriptorSetWithTemplateKHR,
|
||||
unix_vkUpdateDescriptorSets,
|
||||
unix_vkWaitForFences,
|
||||
unix_vkWaitForPresentKHR,
|
||||
unix_vkWaitSemaphores,
|
||||
unix_vkWaitSemaphoresKHR,
|
||||
unix_vkWriteAccelerationStructuresPropertiesKHR,
|
||||
unix_count,
|
||||
};
|
||||
|
||||
|
|
|
@ -751,10 +751,10 @@ class VkFunction(object):
|
|||
body += " params.{0} = {0};\n".format(p.name)
|
||||
body += " ";
|
||||
|
||||
# Call the function from unix_funcs.
|
||||
# Call the Unix function.
|
||||
if self.type != "void" and not self.returns_longlong():
|
||||
body += "return "
|
||||
body += "unix_funcs->p_{0}(¶ms);\n".format(self.name)
|
||||
body += "unix_funcs->p_vk_call(unix_{0}, ¶ms);\n".format(self.name)
|
||||
if self.returns_longlong():
|
||||
body += " return params.result;\n"
|
||||
return body
|
||||
|
@ -861,13 +861,13 @@ class VkFunction(object):
|
|||
stub += "}\n\n"
|
||||
return stub
|
||||
|
||||
def thunk(self, call_conv=None, prefix=None):
|
||||
if self.needs_private_thunk():
|
||||
thunk = self.prototype(call_conv=call_conv, prefix=prefix)
|
||||
def thunk(self, prefix=None):
|
||||
if prefix == "thunk_":
|
||||
thunk = self.prototype(prefix=prefix)
|
||||
thunk += "\n{\n"
|
||||
params_prefix = ""
|
||||
else:
|
||||
thunk = "NTSTATUS {0} {1}{2}(void *args)\n".format(call_conv, prefix, self.name)
|
||||
thunk = "NTSTATUS {0}{1}(void *args)\n".format(prefix, self.name)
|
||||
thunk += "{\n"
|
||||
thunk += " struct {0}_params *params = args;\n".format(self.name)
|
||||
params_prefix = "params->"
|
||||
|
@ -2721,18 +2721,15 @@ class VkGenerator(object):
|
|||
for vk_func in self.registry.funcs.values():
|
||||
if not vk_func.needs_exposing():
|
||||
continue
|
||||
|
||||
if vk_func.is_global_func():
|
||||
continue
|
||||
|
||||
if not vk_func.needs_thunk():
|
||||
if vk_func.loader_thunk_type == ThunkType.NONE:
|
||||
continue
|
||||
|
||||
if vk_func.needs_private_thunk():
|
||||
f.write(vk_func.thunk(prefix="thunk_"))
|
||||
else:
|
||||
|
||||
if vk_func.thunk_type == ThunkType.PUBLIC:
|
||||
f.write("static ")
|
||||
f.write(vk_func.thunk(prefix=prefix, call_conv="WINAPI"))
|
||||
f.write(vk_func.thunk(prefix=prefix))
|
||||
|
||||
# Create array of device extensions.
|
||||
f.write("static const char * const vk_device_extensions[] =\n{\n")
|
||||
|
@ -2808,8 +2805,9 @@ class VkGenerator(object):
|
|||
f.write(" }\n")
|
||||
f.write("}\n\n")
|
||||
|
||||
f.write("const struct unix_funcs loader_funcs =\n")
|
||||
f.write("const unixlib_entry_t __wine_unix_call_funcs[] =\n")
|
||||
f.write("{\n")
|
||||
f.write(" init_vulkan,\n")
|
||||
for vk_func in self.registry.funcs.values():
|
||||
if not vk_func.needs_exposing():
|
||||
continue
|
||||
|
@ -2817,15 +2815,20 @@ class VkGenerator(object):
|
|||
continue
|
||||
|
||||
f.write(" &{1}{0},\n".format(vk_func.name, prefix))
|
||||
f.write("};\n")
|
||||
f.write("C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_count);\n\n")
|
||||
|
||||
f.write("static NTSTATUS WINAPI wine_vk_call(enum unix_call code, void *params)\n")
|
||||
f.write("{\n")
|
||||
f.write(" return __wine_unix_call_funcs[code](params);\n")
|
||||
f.write("}\n\n")
|
||||
|
||||
f.write("const struct unix_funcs loader_funcs =\n")
|
||||
f.write("{\n")
|
||||
f.write(" &wine_vk_call,\n")
|
||||
f.write(" &wine_vk_is_available_instance_function,\n")
|
||||
f.write(" &wine_vk_is_available_device_function,\n")
|
||||
f.write("};\n\n")
|
||||
|
||||
f.write("const unixlib_entry_t __wine_unix_call_funcs[] =\n")
|
||||
f.write("{\n")
|
||||
f.write(" init_vulkan,\n")
|
||||
f.write("};\n")
|
||||
f.write("C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_count);\n")
|
||||
|
||||
def generate_thunks_h(self, f, prefix):
|
||||
self._generate_copyright(f)
|
||||
|
@ -2843,7 +2846,7 @@ class VkGenerator(object):
|
|||
if vk_func.needs_thunk() and not vk_func.needs_private_thunk():
|
||||
continue
|
||||
|
||||
f.write("NTSTATUS WINAPI {0}{1}(void *args) DECLSPEC_HIDDEN;\n".format(prefix, vk_func.name))
|
||||
f.write("NTSTATUS {0}{1}(void *args) DECLSPEC_HIDDEN;\n".format(prefix, vk_func.name))
|
||||
f.write("\n")
|
||||
|
||||
f.write("/* Private thunks */\n")
|
||||
|
@ -3013,24 +3016,16 @@ class VkGenerator(object):
|
|||
f.write("#ifndef __WINE_VULKAN_LOADER_THUNKS_H\n")
|
||||
f.write("#define __WINE_VULKAN_LOADER_THUNKS_H\n\n")
|
||||
|
||||
f.write("struct unix_funcs\n")
|
||||
f.write("enum unix_call\n")
|
||||
f.write("{\n")
|
||||
f.write(" unix_init,\n")
|
||||
for vk_func in self.registry.funcs.values():
|
||||
if not vk_func.needs_exposing():
|
||||
continue
|
||||
if vk_func.loader_thunk_type == ThunkType.NONE:
|
||||
continue
|
||||
|
||||
f.write(" NTSTATUS (WINAPI *p_{1})(void *args);\n".format(vk_func.type, vk_func.name))
|
||||
f.write("\n")
|
||||
f.write(" /* winevulkan specific functions */\n")
|
||||
f.write(" BOOL (WINAPI *p_is_available_instance_function)(VkInstance, const char *);\n")
|
||||
f.write(" BOOL (WINAPI *p_is_available_device_function)(VkDevice, const char *);\n")
|
||||
f.write("};\n\n")
|
||||
|
||||
f.write("enum unix_call\n")
|
||||
f.write("{\n")
|
||||
f.write(" unix_init,\n")
|
||||
f.write(" unix_{0},\n".format(vk_func.name))
|
||||
f.write(" unix_count,\n")
|
||||
f.write("};\n\n")
|
||||
|
||||
|
|
|
@ -627,7 +627,7 @@ static void wine_vk_instance_free(struct VkInstance_T *instance)
|
|||
free(instance);
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkAllocateCommandBuffers(void *args)
|
||||
NTSTATUS wine_vkAllocateCommandBuffers(void *args)
|
||||
{
|
||||
struct vkAllocateCommandBuffers_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -686,7 +686,7 @@ NTSTATUS WINAPI wine_vkAllocateCommandBuffers(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateDevice(void *args)
|
||||
NTSTATUS wine_vkCreateDevice(void *args)
|
||||
{
|
||||
struct vkCreateDevice_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -784,7 +784,7 @@ fail:
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateInstance(void *args)
|
||||
NTSTATUS wine_vkCreateInstance(void *args)
|
||||
{
|
||||
struct vkCreateInstance_params *params = args;
|
||||
const VkInstanceCreateInfo *create_info = params->pCreateInfo;
|
||||
|
@ -866,7 +866,7 @@ NTSTATUS WINAPI wine_vkCreateInstance(void *args)
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroyDevice(void *args)
|
||||
NTSTATUS wine_vkDestroyDevice(void *args)
|
||||
{
|
||||
struct vkDestroyDevice_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -881,7 +881,7 @@ NTSTATUS WINAPI wine_vkDestroyDevice(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroyInstance(void *args)
|
||||
NTSTATUS wine_vkDestroyInstance(void *args)
|
||||
{
|
||||
struct vkDestroyInstance_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -896,7 +896,7 @@ NTSTATUS WINAPI wine_vkDestroyInstance(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumerateDeviceExtensionProperties(void *args)
|
||||
NTSTATUS wine_vkEnumerateDeviceExtensionProperties(void *args)
|
||||
{
|
||||
struct vkEnumerateDeviceExtensionProperties_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -926,7 +926,7 @@ NTSTATUS WINAPI wine_vkEnumerateDeviceExtensionProperties(void *args)
|
|||
return *count < phys_dev->extension_count ? VK_INCOMPLETE : VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumerateInstanceExtensionProperties(void *args)
|
||||
NTSTATUS wine_vkEnumerateInstanceExtensionProperties(void *args)
|
||||
{
|
||||
struct vkEnumerateInstanceExtensionProperties_params *params = args;
|
||||
uint32_t *count = params->pPropertyCount;
|
||||
|
@ -985,7 +985,7 @@ NTSTATUS WINAPI wine_vkEnumerateInstanceExtensionProperties(void *args)
|
|||
return *count < num_properties ? VK_INCOMPLETE : VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumerateDeviceLayerProperties(void *args)
|
||||
NTSTATUS wine_vkEnumerateDeviceLayerProperties(void *args)
|
||||
{
|
||||
struct vkEnumerateDeviceLayerProperties_params *params = args;
|
||||
uint32_t *count = params->pPropertyCount;
|
||||
|
@ -996,7 +996,7 @@ NTSTATUS WINAPI wine_vkEnumerateDeviceLayerProperties(void *args)
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumerateInstanceVersion(void *args)
|
||||
NTSTATUS wine_vkEnumerateInstanceVersion(void *args)
|
||||
{
|
||||
struct vkEnumerateInstanceVersion_params *params = args;
|
||||
uint32_t *version = params->pApiVersion;
|
||||
|
@ -1022,7 +1022,7 @@ NTSTATUS WINAPI wine_vkEnumerateInstanceVersion(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkEnumeratePhysicalDevices(void *args)
|
||||
VkResult wine_vkEnumeratePhysicalDevices(void *args)
|
||||
{
|
||||
struct vkEnumeratePhysicalDevices_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1048,7 +1048,7 @@ VkResult WINAPI wine_vkEnumeratePhysicalDevices(void *args)
|
|||
return *count < instance->phys_dev_count ? VK_INCOMPLETE : VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkFreeCommandBuffers(void *args)
|
||||
NTSTATUS wine_vkFreeCommandBuffers(void *args)
|
||||
{
|
||||
struct vkFreeCommandBuffers_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1081,7 +1081,7 @@ static VkQueue wine_vk_device_find_queue(VkDevice device, const VkDeviceQueueInf
|
|||
return VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetDeviceQueue(void *args)
|
||||
NTSTATUS wine_vkGetDeviceQueue(void *args)
|
||||
{
|
||||
struct vkGetDeviceQueue_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1102,7 +1102,7 @@ NTSTATUS WINAPI wine_vkGetDeviceQueue(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetDeviceQueue2(void *args)
|
||||
NTSTATUS wine_vkGetDeviceQueue2(void *args)
|
||||
{
|
||||
struct vkGetDeviceQueue2_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1119,7 +1119,7 @@ NTSTATUS WINAPI wine_vkGetDeviceQueue2(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateCommandPool(void *args)
|
||||
NTSTATUS wine_vkCreateCommandPool(void *args)
|
||||
{
|
||||
struct vkCreateCommandPool_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1154,7 +1154,7 @@ NTSTATUS WINAPI wine_vkCreateCommandPool(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroyCommandPool(void *args)
|
||||
NTSTATUS wine_vkDestroyCommandPool(void *args)
|
||||
{
|
||||
struct vkDestroyCommandPool_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1213,7 +1213,7 @@ static VkResult wine_vk_enumerate_physical_device_groups(struct VkInstance_T *in
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroups(void *args)
|
||||
NTSTATUS wine_vkEnumeratePhysicalDeviceGroups(void *args)
|
||||
{
|
||||
struct vkEnumeratePhysicalDeviceGroups_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1225,7 +1225,7 @@ NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroups(void *args)
|
|||
instance->funcs.p_vkEnumeratePhysicalDeviceGroups, count, properties);
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroupsKHR(void *args)
|
||||
NTSTATUS wine_vkEnumeratePhysicalDeviceGroupsKHR(void *args)
|
||||
{
|
||||
struct vkEnumeratePhysicalDeviceGroupsKHR_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1237,7 +1237,7 @@ NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroupsKHR(void *args)
|
|||
instance->funcs.p_vkEnumeratePhysicalDeviceGroupsKHR, count, properties);
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFenceProperties(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalFenceProperties(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalFenceProperties_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1251,7 +1251,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFenceProperties(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalFencePropertiesKHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1265,7 +1265,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferProperties(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalBufferProperties(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalBufferProperties_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1277,7 +1277,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferProperties(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalBufferPropertiesKHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1289,7 +1289,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceImageFormatProperties2(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceImageFormatProperties2_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1313,7 +1313,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2KHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceImageFormatProperties2KHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceImageFormatProperties2KHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1383,7 +1383,7 @@ static inline uint64_t convert_timestamp(VkTimeDomainEXT host_domain, VkTimeDoma
|
|||
return value;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetCalibratedTimestampsEXT(void *args)
|
||||
NTSTATUS wine_vkGetCalibratedTimestampsEXT(void *args)
|
||||
{
|
||||
struct vkGetCalibratedTimestampsEXT_params *params = args;
|
||||
VkDevice device = params->device;
|
||||
|
@ -1418,7 +1418,7 @@ NTSTATUS WINAPI wine_vkGetCalibratedTimestampsEXT(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
VkResult WINAPI wine_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(void *args)
|
||||
VkResult wine_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceCalibrateableTimeDomainsEXT_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1493,7 +1493,7 @@ VkResult WINAPI wine_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphoreProperties(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalSemaphoreProperties(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalSemaphoreProperties_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1507,7 +1507,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphoreProperties(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceExternalSemaphorePropertiesKHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1521,7 +1521,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(void *arg
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateWin32SurfaceKHR(void *args)
|
||||
NTSTATUS wine_vkCreateWin32SurfaceKHR(void *args)
|
||||
{
|
||||
struct vkCreateWin32SurfaceKHR_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1558,7 +1558,7 @@ NTSTATUS WINAPI wine_vkCreateWin32SurfaceKHR(void *args)
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroySurfaceKHR(void *args)
|
||||
NTSTATUS wine_vkDestroySurfaceKHR(void *args)
|
||||
{
|
||||
struct vkDestroySurfaceKHR_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1593,7 +1593,7 @@ static inline void adjust_max_image_count(VkPhysicalDevice phys_dev, VkSurfaceCa
|
|||
}
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceSurfaceCapabilitiesKHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1611,7 +1611,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(void *args)
|
||||
NTSTATUS wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(void *args)
|
||||
{
|
||||
struct vkGetPhysicalDeviceSurfaceCapabilities2KHR_params *params = args;
|
||||
VkPhysicalDevice phys_dev = params->physicalDevice;
|
||||
|
@ -1629,7 +1629,7 @@ NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(void *args)
|
|||
return res;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateDebugUtilsMessengerEXT(void *args)
|
||||
NTSTATUS wine_vkCreateDebugUtilsMessengerEXT(void *args)
|
||||
{
|
||||
struct vkCreateDebugUtilsMessengerEXT_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1671,7 +1671,7 @@ NTSTATUS WINAPI wine_vkCreateDebugUtilsMessengerEXT(void *args)
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroyDebugUtilsMessengerEXT(void *args)
|
||||
NTSTATUS wine_vkDestroyDebugUtilsMessengerEXT(void *args)
|
||||
{
|
||||
struct vkDestroyDebugUtilsMessengerEXT_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1693,7 +1693,7 @@ NTSTATUS WINAPI wine_vkDestroyDebugUtilsMessengerEXT(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkCreateDebugReportCallbackEXT(void *args)
|
||||
NTSTATUS wine_vkCreateDebugReportCallbackEXT(void *args)
|
||||
{
|
||||
struct vkCreateDebugReportCallbackEXT_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
@ -1735,7 +1735,7 @@ NTSTATUS WINAPI wine_vkCreateDebugReportCallbackEXT(void *args)
|
|||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS WINAPI wine_vkDestroyDebugReportCallbackEXT(void *args)
|
||||
NTSTATUS wine_vkDestroyDebugReportCallbackEXT(void *args)
|
||||
{
|
||||
struct vkDestroyDebugReportCallbackEXT_params *params = args;
|
||||
VkInstance instance = params->instance;
|
||||
|
|
|
@ -103,4 +103,11 @@ static inline NTSTATUS vk_unix_call(enum unix_call code, void *params)
|
|||
return __wine_unix_call(unix_handle, code, params);
|
||||
}
|
||||
|
||||
struct unix_funcs
|
||||
{
|
||||
NTSTATUS (WINAPI *p_vk_call)(enum unix_call, void *);
|
||||
BOOL (WINAPI *p_is_available_instance_function)(VkInstance, const char *);
|
||||
BOOL (WINAPI *p_is_available_device_function)(VkDevice, const char *);
|
||||
};
|
||||
|
||||
#endif /* __WINE_VULKAN_LOADER_H */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,44 +15,44 @@
|
|||
#define WINE_VK_VERSION VK_API_VERSION_1_2
|
||||
|
||||
/* Functions for which we have custom implementations outside of the thunks. */
|
||||
NTSTATUS WINAPI wine_vkAllocateCommandBuffers(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateCommandPool(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateDebugReportCallbackEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateDebugUtilsMessengerEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateDevice(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateInstance(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkCreateWin32SurfaceKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroyCommandPool(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroyDebugReportCallbackEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroyDebugUtilsMessengerEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroyDevice(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroyInstance(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkDestroySurfaceKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumerateDeviceExtensionProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumerateDeviceLayerProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumerateInstanceExtensionProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumerateInstanceLayerProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumerateInstanceVersion(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroups(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumeratePhysicalDeviceGroupsKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkEnumeratePhysicalDevices(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkFreeCommandBuffers(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetCalibratedTimestampsEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetDeviceProcAddr(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetDeviceQueue(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetDeviceQueue2(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetInstanceProcAddr(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFenceProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphoreProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2KHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS WINAPI wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkAllocateCommandBuffers(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateCommandPool(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateDebugReportCallbackEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateDebugUtilsMessengerEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateDevice(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateInstance(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkCreateWin32SurfaceKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroyCommandPool(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroyDebugReportCallbackEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroyDebugUtilsMessengerEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroyDevice(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroyInstance(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkDestroySurfaceKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumerateDeviceExtensionProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumerateDeviceLayerProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumerateInstanceExtensionProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumerateInstanceLayerProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumerateInstanceVersion(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumeratePhysicalDeviceGroups(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumeratePhysicalDeviceGroupsKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkEnumeratePhysicalDevices(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkFreeCommandBuffers(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetCalibratedTimestampsEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetDeviceProcAddr(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetDeviceQueue(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetDeviceQueue2(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetInstanceProcAddr(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalBufferProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalFenceProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalSemaphoreProperties(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceImageFormatProperties2(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceImageFormatProperties2KHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceSurfaceCapabilities2KHR(void *args) DECLSPEC_HIDDEN;
|
||||
NTSTATUS wine_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(void *args) DECLSPEC_HIDDEN;
|
||||
|
||||
/* Private thunks */
|
||||
VkResult thunk_vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties) DECLSPEC_HIDDEN;
|
||||
|
|
Loading…
Reference in New Issue