mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
pvr: Remove logic to set vk_device::alloc.
The field is being already set by vk_device_init(). Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15768>
This commit is contained in:
parent
40f0c616e8
commit
748c1fdf1b
1 changed files with 0 additions and 5 deletions
|
|
@ -1054,11 +1054,6 @@ VkResult pvr_CreateDevice(VkPhysicalDevice physicalDevice,
|
|||
device->instance = instance;
|
||||
device->pdevice = pdevice;
|
||||
|
||||
if (pAllocator)
|
||||
device->vk.alloc = *pAllocator;
|
||||
else
|
||||
device->vk.alloc = pdevice->vk.instance->alloc;
|
||||
|
||||
device->ws = pvr_winsys_create(device->master_fd,
|
||||
device->render_fd,
|
||||
&device->vk.alloc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue