| 1 | /* |
| 2 | * Copyright © 2022 Collabora Ltd. and Red Hat Inc. |
| 3 | * Copyright 2025 LunarG, Inc. |
| 4 | * Copyright 2025 Google LLC |
| 5 | * SPDX-License-Identifier: MIT |
| 6 | */ |
| 7 | |
| 8 | #ifndef KK_INSTANCE_H |
| 9 | #define KK_INSTANCE_H 1 |
| 10 | |
| 11 | #include "kk_private.h" |
| 12 | |
| 13 | #include "util/xmlconfig.h" |
| 14 | #include "vk_instance.h" |
| 15 | |
| 16 | struct kk_instance { |
| 17 | struct vk_instance vk; |
| 18 | |
| 19 | uint8_t driver_build_sha[VK_UUID_SIZE]; |
| 20 | uint32_t force_vk_vendor; |
| 21 | }; |
| 22 | |
| 23 | VK_DEFINE_HANDLE_CASTS(kk_instance, vk.base, VkInstance, |
| 24 | VK_OBJECT_TYPE_INSTANCE) |
| 25 | |
| 26 | #endif // KK_INSTANCE_H |