yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

vk_device_info: Clean up includes [IWYU]

This commit is contained in:
lat9nq 2023-05-28 23:24:08 -04:00
parent f9fc996083
commit 013c34cb32
2 changed files with 11 additions and 3 deletions

View File

@ -1,10 +1,10 @@
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project // SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include "video_core/vulkan_common/vulkan_device.h" #include <utility>
#include <vector> #include <vector>
#include "common/dynamic_library.h" #include "common/dynamic_library.h"
#include "common/logging/log.h"
#include "video_core/vulkan_common/vulkan_instance.h" #include "video_core/vulkan_common/vulkan_instance.h"
#include "video_core/vulkan_common/vulkan_library.h" #include "video_core/vulkan_common/vulkan_library.h"
#include "video_core/vulkan_common/vulkan_surface.h" #include "video_core/vulkan_common/vulkan_surface.h"
@ -12,6 +12,8 @@
#include "yuzu/qt_common.h" #include "yuzu/qt_common.h"
#include "yuzu/vk_device_info.h" #include "yuzu/vk_device_info.h"
class QWindow;
namespace VkDeviceInfo { namespace VkDeviceInfo {
Record::Record(std::string_view name_, const std::vector<VkPresentModeKHR>& vsync_modes_, Record::Record(std::string_view name_, const std::vector<VkPresentModeKHR>& vsync_modes_,
bool is_intel_proprietary_) bool is_intel_proprietary_)

View File

@ -3,11 +3,17 @@
#pragma once #pragma once
#include <algorithm>
#include <iterator>
#include <memory>
#include <string> #include <string>
#include <string_view> #include <string_view>
#include <vector> #include <vector>
#include "common/common_types.h"
#include "vulkan/vulkan_core.h" #include "vulkan/vulkan_core.h"
class QWindow;
namespace Settings { namespace Settings {
enum class VSyncMode : u32; enum class VSyncMode : u32;
} }
@ -27,4 +33,4 @@ public:
}; };
void PopulateRecords(std::vector<Record>& records, QWindow* window); void PopulateRecords(std::vector<Record>& records, QWindow* window);
} // namespace VkDeviceInfo } // namespace VkDeviceInfo