Debian Codegraph @

src/kosmickrisp/vulkan/kk_buffer_view.h

raw symbols SCIP
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_BUFFER_VIEW_H
9 #define KK_BUFFER_VIEW_H 1
10
11 #include "kk_private.h"
12
13 #include "kosmickrisp/bridge/mtl_types.h"
14
15 #include "vk_buffer_view.h"
16
17 struct kk_physical_device;
18
19 VkFormatFeatureFlags2
20 kk_get_buffer_format_features(struct kk_physical_device *pdev, VkFormat format);
21
22 struct kk_buffer_view {
23 struct vk_buffer_view vk;
24 mtl_texture *mtl_texel_buffer_handle;
25 uint64_t texel_buffer_gpu_id;
26 };
27
28 VK_DEFINE_NONDISP_HANDLE_CASTS(kk_buffer_view, vk.base, VkBufferView,
29 VK_OBJECT_TYPE_BUFFER_VIEW)
30
31 #endif