mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 15:28:18 +02:00
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36127>
27 lines
671 B
C
27 lines
671 B
C
/*
|
|
* Copyright 2024 Valve Corporation
|
|
* Copyright 2024 Alyssa Rosenzweig
|
|
* Copyright 2022-2023 Collabora Ltd. and Red Hat Inc.
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
#pragma once
|
|
|
|
#include "agx_pack.h"
|
|
#include "hk_private.h"
|
|
|
|
#include "vk_buffer_view.h"
|
|
|
|
struct hk_physical_device;
|
|
|
|
VkFormatFeatureFlags2
|
|
hk_get_buffer_format_features(struct hk_physical_device *pdevice,
|
|
VkFormat format);
|
|
|
|
struct hk_buffer_view {
|
|
struct vk_buffer_view vk;
|
|
struct agx_texture_packed tex;
|
|
struct agx_pbe_packed pbe;
|
|
};
|
|
|
|
VK_DEFINE_NONDISP_HANDLE_CASTS(hk_buffer_view, vk.base, VkBufferView,
|
|
VK_OBJECT_TYPE_BUFFER_VIEW)
|