vulkan: Remove no-longer-needed prototypes for ICD entrypoints
The comment around these is no longer true, vk_icd.h does in fact have prototypes for these functions. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25998>
This commit is contained in:
@@ -118,10 +118,6 @@ instance-level ``vkGet*ProcAddr()`` entrypoints is trivial:
|
||||
pName);
|
||||
}
|
||||
|
||||
PUBLIC VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
||||
vk_icdGetInstanceProcAddr(VkInstance instance,
|
||||
const char *pName);
|
||||
|
||||
PUBLIC VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
||||
vk_icdGetInstanceProcAddr(VkInstance instance,
|
||||
const char *pName)
|
||||
@@ -129,10 +125,6 @@ instance-level ``vkGet*ProcAddr()`` entrypoints is trivial:
|
||||
return drv_GetInstanceProcAddr(instance, pName);
|
||||
}
|
||||
|
||||
PUBLIC VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
||||
vk_icdGetPhysicalDeviceProcAddr(VkInstance _instance,
|
||||
const char* pName);
|
||||
|
||||
PUBLIC VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
||||
vk_icdGetPhysicalDeviceProcAddr(VkInstance _instance,
|
||||
const char* pName)
|
||||
@@ -141,11 +133,6 @@ instance-level ``vkGet*ProcAddr()`` entrypoints is trivial:
|
||||
return vk_instance_get_physical_device_proc_addr(instance, pName);
|
||||
}
|
||||
|
||||
The prototypes for the ``vk_icd*`` versions are needed because those are not
|
||||
actually defined in the Vulkan headers and you need the prototype somewhere
|
||||
to get the C compiler to not complain. These are all implemented by
|
||||
wrapping one of the provided ``vk_instance_get*_proc_addr()`` functions.
|
||||
|
||||
.. c:autofunction:: vk_instance_get_proc_addr
|
||||
|
||||
.. c:autofunction:: vk_instance_get_proc_addr_unchecked
|
||||
|
||||
Reference in New Issue
Block a user