winevulkan: Get rid of unused "phys_dev" field from VkDevice_T.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67968b8805
commit
9451a42cf7
|
@ -532,8 +532,6 @@ VkResult WINAPI wine_vkCreateDevice(VkPhysicalDevice phys_dev,
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
object->phys_dev = phys_dev;
|
|
||||||
|
|
||||||
/* Just load all function pointers we are aware off. The loader takes care of filtering.
|
/* Just load all function pointers we are aware off. The loader takes care of filtering.
|
||||||
* We use vkGetDeviceProcAddr as opposed to vkGetInstanceProcAddr for efficiency reasons
|
* We use vkGetDeviceProcAddr as opposed to vkGetInstanceProcAddr for efficiency reasons
|
||||||
* as functions pass through fewer dispatch tables within the loader.
|
* as functions pass through fewer dispatch tables within the loader.
|
||||||
|
|
|
@ -64,7 +64,7 @@ struct wine_vk_base
|
||||||
struct VkCommandBuffer_T
|
struct VkCommandBuffer_T
|
||||||
{
|
{
|
||||||
struct wine_vk_base base;
|
struct wine_vk_base base;
|
||||||
VkDevice device; /* parent */
|
struct VkDevice_T *device; /* parent */
|
||||||
VkCommandBuffer command_buffer; /* native command buffer */
|
VkCommandBuffer command_buffer; /* native command buffer */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -72,7 +72,6 @@ struct VkDevice_T
|
||||||
{
|
{
|
||||||
struct wine_vk_base base;
|
struct wine_vk_base base;
|
||||||
struct vulkan_device_funcs funcs;
|
struct vulkan_device_funcs funcs;
|
||||||
struct VkPhysicalDevice_T *phys_dev; /* parent */
|
|
||||||
|
|
||||||
uint32_t max_queue_families;
|
uint32_t max_queue_families;
|
||||||
struct VkQueue_T **queues;
|
struct VkQueue_T **queues;
|
||||||
|
@ -112,7 +111,7 @@ struct VkPhysicalDevice_T
|
||||||
struct VkQueue_T
|
struct VkQueue_T
|
||||||
{
|
{
|
||||||
struct wine_vk_base base;
|
struct wine_vk_base base;
|
||||||
VkDevice device; /* parent */
|
struct VkDevice_T *device; /* parent */
|
||||||
VkQueue queue; /* native queue */
|
VkQueue queue; /* native queue */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue