diff options
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/vk_device_info.cpp | 6 | ||||
| -rw-r--r-- | src/yuzu/vk_device_info.h | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/yuzu/vk_device_info.cpp b/src/yuzu/vk_device_info.cpp index 2f3a46ebf..9bd1ec686 100644 --- a/src/yuzu/vk_device_info.cpp +++ b/src/yuzu/vk_device_info.cpp | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | // SPDX-FileCopyrightText: 2023 yuzu Emulator Project | 1 | // SPDX-FileCopyrightText: 2023 yuzu Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | 3 | ||
| 4 | #include "video_core/vulkan_common/vulkan_device.h" | 4 | #include <utility> |
| 5 | |||
| 6 | #include <vector> | 5 | #include <vector> |
| 7 | #include "common/dynamic_library.h" | 6 | #include "common/dynamic_library.h" |
| 7 | #include "common/logging/log.h" | ||
| 8 | #include "video_core/vulkan_common/vulkan_instance.h" | 8 | #include "video_core/vulkan_common/vulkan_instance.h" |
| 9 | #include "video_core/vulkan_common/vulkan_library.h" | 9 | #include "video_core/vulkan_common/vulkan_library.h" |
| 10 | #include "video_core/vulkan_common/vulkan_surface.h" | 10 | #include "video_core/vulkan_common/vulkan_surface.h" |
| @@ -12,6 +12,8 @@ | |||
| 12 | #include "yuzu/qt_common.h" | 12 | #include "yuzu/qt_common.h" |
| 13 | #include "yuzu/vk_device_info.h" | 13 | #include "yuzu/vk_device_info.h" |
| 14 | 14 | ||
| 15 | class QWindow; | ||
| 16 | |||
| 15 | namespace VkDeviceInfo { | 17 | namespace VkDeviceInfo { |
| 16 | Record::Record(std::string_view name_, const std::vector<VkPresentModeKHR>& vsync_modes_, | 18 | Record::Record(std::string_view name_, const std::vector<VkPresentModeKHR>& vsync_modes_, |
| 17 | bool is_intel_proprietary_) | 19 | bool is_intel_proprietary_) |
diff --git a/src/yuzu/vk_device_info.h b/src/yuzu/vk_device_info.h index 6e2617513..5a6c64416 100644 --- a/src/yuzu/vk_device_info.h +++ b/src/yuzu/vk_device_info.h | |||
| @@ -3,11 +3,17 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #include <algorithm> | ||
| 7 | #include <iterator> | ||
| 8 | #include <memory> | ||
| 6 | #include <string> | 9 | #include <string> |
| 7 | #include <string_view> | 10 | #include <string_view> |
| 8 | #include <vector> | 11 | #include <vector> |
| 12 | #include "common/common_types.h" | ||
| 9 | #include "vulkan/vulkan_core.h" | 13 | #include "vulkan/vulkan_core.h" |
| 10 | 14 | ||
| 15 | class QWindow; | ||
| 16 | |||
| 11 | namespace Settings { | 17 | namespace Settings { |
| 12 | enum class VSyncMode : u32; | 18 | enum class VSyncMode : u32; |
| 13 | } | 19 | } |
| @@ -27,4 +33,4 @@ public: | |||
| 27 | }; | 33 | }; |
| 28 | 34 | ||
| 29 | void PopulateRecords(std::vector<Record>& records, QWindow* window); | 35 | void PopulateRecords(std::vector<Record>& records, QWindow* window); |
| 30 | } // namespace VkDeviceInfo \ No newline at end of file | 36 | } // namespace VkDeviceInfo |