• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright © 2022 Collabora Ltd. and Red Hat Inc.
3  * SPDX-License-Identifier: MIT
4  */
5 #ifndef NVK_INSTANCE_H
6 #define NVK_INSTANCE_H 1
7 
8 #include "nvk_private.h"
9 
10 #include "vulkan/runtime/vk_instance.h"
11 #include "util/xmlconfig.h"
12 
13 struct nvk_instance {
14    struct vk_instance vk;
15 
16    struct driOptionCache dri_options;
17    struct driOptionCache available_dri_options;
18 
19    uint8_t driver_build_sha[20];
20 };
21 
22 VK_DEFINE_HANDLE_CASTS(nvk_instance, vk.base, VkInstance, VK_OBJECT_TYPE_INSTANCE)
23 
24 #endif
25