blob: d50f386385b4945d960ae2c0bc5a54d26bea9dd5 [file] [log] [blame]
Peng Huang60108c22020-05-04 16:25:241// Copyright 2020 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef GPU_VULKAN_VULKAN_CRASH_KEYS_H_
6#define GPU_VULKAN_VULKAN_CRASH_KEYS_H_
7
8#include <vulkan/vulkan.h>
9
10#include "components/crash/core/common/crash_key.h"
11
12namespace gpu {
13namespace crash_keys {
14
15extern crash_reporter::CrashKeyString<16> vulkan_api_version;
16extern crash_reporter::CrashKeyString<16> vulkan_device_api_version;
17extern crash_reporter::CrashKeyString<16> vulkan_device_driver_version;
18extern crash_reporter::CrashKeyString<16> vulkan_device_vendor_id;
19extern crash_reporter::CrashKeyString<16> vulkan_device_id;
20extern crash_reporter::CrashKeyString<16> vulkan_device_type;
21extern crash_reporter::CrashKeyString<VK_MAX_PHYSICAL_DEVICE_NAME_SIZE>
22 vulkan_device_name;
23
24} // namespace crash_keys
25} // namespace gpu
26
27#endif // GPU_VULKAN_VULKAN_CRASH_KEYS_H_