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:
Józef Kucia 2018-04-09 10:25:56 +02:00 committed by Alexandre Julliard
parent 67968b8805
commit 9451a42cf7
2 changed files with 2 additions and 5 deletions

View file

@ -532,8 +532,6 @@ VkResult WINAPI wine_vkCreateDevice(VkPhysicalDevice phys_dev,
return res;
}
object->phys_dev = phys_dev;
/* 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
* as functions pass through fewer dispatch tables within the loader.

View file

@ -64,7 +64,7 @@ struct wine_vk_base
struct VkCommandBuffer_T
{
struct wine_vk_base base;
VkDevice device; /* parent */
struct VkDevice_T *device; /* parent */
VkCommandBuffer command_buffer; /* native command buffer */
};
@ -72,7 +72,6 @@ struct VkDevice_T
{
struct wine_vk_base base;
struct vulkan_device_funcs funcs;
struct VkPhysicalDevice_T *phys_dev; /* parent */
uint32_t max_queue_families;
struct VkQueue_T **queues;
@ -112,7 +111,7 @@ struct VkPhysicalDevice_T
struct VkQueue_T
{
struct wine_vk_base base;
VkDevice device; /* parent */
struct VkDevice_T *device; /* parent */
VkQueue queue; /* native queue */
};