summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-29 05:24:08 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-06 07:54:44 +0200
commit013c34cb321873eca0c4bfc7e2347c52bb09ed9a (patch)
tree3836398522e29d2ab59b396b1a91d142088aa6ef /src
parentvk_device_info: Add SPDX data (diff)
downloadyuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar.gz
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar.bz2
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar.lz
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar.xz
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.tar.zst
yuzu-013c34cb321873eca0c4bfc7e2347c52bb09ed9a.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/vk_device_info.cpp6
-rw-r--r--src/yuzu/vk_device_info.h8
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 @@
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "video_core/vulkan_common/vulkan_device.h"
-
+#include <utility>
#include <vector>
#include "common/dynamic_library.h"
+#include "common/logging/log.h"
#include "video_core/vulkan_common/vulkan_instance.h"
#include "video_core/vulkan_common/vulkan_library.h"
#include "video_core/vulkan_common/vulkan_surface.h"
@@ -12,6 +12,8 @@
#include "yuzu/qt_common.h"
#include "yuzu/vk_device_info.h"
+class QWindow;
+
namespace VkDeviceInfo {
Record::Record(std::string_view name_, const std::vector<VkPresentModeKHR>& vsync_modes_,
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 @@
#pragma once
+#include <algorithm>
+#include <iterator>
+#include <memory>
#include <string>
#include <string_view>
#include <vector>
+#include "common/common_types.h"
#include "vulkan/vulkan_core.h"
+class QWindow;
+
namespace Settings {
enum class VSyncMode : u32;
}
@@ -27,4 +33,4 @@ public:
};
void PopulateRecords(std::vector<Record>& records, QWindow* window);
-} // namespace VkDeviceInfo \ No newline at end of file
+} // namespace VkDeviceInfo