mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 09:40:21 +01:00
These files shouldn't not be per-arch, so break them out to their own modules before we start making things multi-arch. Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38352>
36 lines
731 B
C
36 lines
731 B
C
/*
|
|
* Copyright © 2022 Imagination Technologies Ltd.
|
|
*
|
|
* based in part on anv driver which is:
|
|
* Copyright © 2015 Intel Corporation
|
|
*
|
|
* based in part on radv driver which is:
|
|
* Copyright © 2016 Red Hat.
|
|
* Copyright © 2016 Bas Nieuwenhuizen
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef PVR_INSTANCE_H
|
|
#define PVR_INSTANCE_H
|
|
|
|
#include "vk_instance.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "util/mesa-sha1.h"
|
|
|
|
struct pvr_instance {
|
|
struct vk_instance vk;
|
|
|
|
uint32_t active_device_count;
|
|
|
|
uint8_t driver_build_sha[SHA1_DIGEST_LENGTH];
|
|
};
|
|
|
|
VK_DEFINE_HANDLE_CASTS(pvr_instance,
|
|
vk.base,
|
|
VkInstance,
|
|
VK_OBJECT_TYPE_INSTANCE)
|
|
|
|
#endif /* PVR_INSTANCE_H */
|