mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 17:38:25 +02:00
radv: remove declared but unused create_null_physical_device()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41755>
This commit is contained in:
parent
921eedee8b
commit
f8ce76e996
2 changed files with 0 additions and 16 deletions
|
|
@ -2788,20 +2788,6 @@ fail_fd:
|
|||
#endif
|
||||
}
|
||||
|
||||
VkResult
|
||||
create_null_physical_device(struct vk_instance *vk_instance)
|
||||
{
|
||||
struct radv_instance *instance = container_of(vk_instance, struct radv_instance, vk);
|
||||
struct radv_physical_device *pdev;
|
||||
|
||||
VkResult result = radv_physical_device_try_create(instance, NULL, &pdev);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
list_addtail(&pdev->vk.link, &instance->vk.physical_devices.list);
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
VkResult
|
||||
create_drm_physical_device(struct vk_instance *vk_instance, struct _drmDevice *device, struct vk_physical_device **out)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -253,8 +253,6 @@ bool radv_are_dcc_mips_disabled(const struct radv_physical_device *pdev);
|
|||
|
||||
uint32_t radv_find_memory_index(const struct radv_physical_device *pdev, VkMemoryPropertyFlags flags);
|
||||
|
||||
VkResult create_null_physical_device(struct vk_instance *vk_instance);
|
||||
|
||||
VkResult create_drm_physical_device(struct vk_instance *vk_instance, struct _drmDevice *device,
|
||||
struct vk_physical_device **out);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue