mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 15:38:19 +02:00
only build_id is switched to use literal 20 instead of SHA1_DIGEST_LENGTH because we will increase SHA1_DIGEST_LENGTH to BLAKE3_KEY_LEN Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39110>
29 lines
649 B
C
29 lines
649 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 "util/xmlconfig.h"
|
|
#include "vk_instance.h"
|
|
|
|
struct hk_instance {
|
|
struct vk_instance vk;
|
|
|
|
struct driOptionCache dri_options;
|
|
struct driOptionCache available_dri_options;
|
|
|
|
uint8_t driver_build_sha[SHA1_DIGEST_LENGTH];
|
|
uint32_t force_vk_vendor;
|
|
|
|
bool no_border;
|
|
bool fake_minmax;
|
|
bool image_view_min_lod;
|
|
bool vertex_stores;
|
|
};
|
|
|
|
VK_DEFINE_HANDLE_CASTS(hk_instance, vk.base, VkInstance,
|
|
VK_OBJECT_TYPE_INSTANCE)
|