2
* Copyright 2019 Google LLC
3
* SPDX-License-Identifier: MIT
5
* based in part on anv and radv which are:
6
* Copyright © 2015 Intel Corporation
7
* Copyright © 2016 Red Hat.
8
* Copyright © 2016 Bas Nieuwenhuizen
14
#include "vn_common.h"
16
#include "vn_buffer.h"
17
#include "vn_device_memory.h"
20
struct vn_device_base base;
22
struct vn_instance *instance;
23
struct vn_physical_device *physical_device;
24
struct vn_renderer *renderer;
26
struct vn_queue *queues;
29
struct vn_device_memory_pool memory_pools[VK_MAX_MEMORY_TYPES];
31
struct vn_buffer_cache buffer_cache;
33
VK_DEFINE_HANDLE_CASTS(vn_device,
36
VK_OBJECT_TYPE_DEVICE)
38
#endif /* VN_DEVICE_H */