Peng Huang | 60108c2 | 2020-05-04 16:25:24 | [diff] [blame] | 1 | // 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 | |
| 12 | namespace gpu { |
| 13 | namespace crash_keys { |
| 14 | |
| 15 | extern crash_reporter::CrashKeyString<16> vulkan_api_version; |
| 16 | extern crash_reporter::CrashKeyString<16> vulkan_device_api_version; |
| 17 | extern crash_reporter::CrashKeyString<16> vulkan_device_driver_version; |
| 18 | extern crash_reporter::CrashKeyString<16> vulkan_device_vendor_id; |
| 19 | extern crash_reporter::CrashKeyString<16> vulkan_device_id; |
| 20 | extern crash_reporter::CrashKeyString<16> vulkan_device_type; |
| 21 | extern 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_ |