video_core: Reduce unused includes

This commit is contained in:
ameerj 2022-03-19 00:06:57 -04:00
parent 8a8ea65fae
commit 1bc7d61b57
75 changed files with 12 additions and 139 deletions

View file

@ -4,20 +4,22 @@
#pragma once
#include <filesystem>
#include <mutex>
#include <span>
#include <string>
#include <vector>
#include "common/common_types.h"
#include "common/dynamic_library.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
#ifdef HAS_NSIGHT_AFTERMATH
#include <filesystem>
#include <mutex>
// Vulkan headers must be included before Aftermath
#include "video_core/vulkan_common/vulkan_wrapper.h"
#include <GFSDK_Aftermath_Defines.h>
#include <GFSDK_Aftermath_GpuCrashDump.h>
#include <GFSDK_Aftermath_GpuCrashDumpDecoding.h>
#include "common/dynamic_library.h"
#endif
namespace Vulkan {

View file

@ -6,7 +6,6 @@
#include <bitset>
#include <chrono>
#include <optional>
#include <string_view>
#include <thread>
#include <unordered_set>
#include <utility>

View file

@ -6,7 +6,6 @@
#include <span>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>

View file

@ -2,11 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <algorithm>
#include <future>
#include <optional>
#include <span>
#include <utility>
#include <vector>
#include "common/common_types.h"

View file

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cstdlib>
#include <string>
#include "common/dynamic_library.h"

View file

@ -6,7 +6,6 @@
#include <memory>
#include <span>
#include <utility>
#include <vector>
#include "common/common_types.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"

View file

@ -3,10 +3,8 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <exception>
#include <memory>
#include <optional>
#include <string_view>
#include <utility>
#include <vector>

View file

@ -5,7 +5,6 @@
#pragma once
#include <exception>
#include <iterator>
#include <limits>
#include <memory>
#include <optional>