diff options
| author | 2022-03-19 00:06:57 -0400 | |
|---|---|---|
| committer | 2022-03-19 15:01:31 -0400 | |
| commit | 1bc7d61b5749ed29108cbbbf0a78a41b79504eff (patch) | |
| tree | 25b0362101d8f7fc6deeed1bb989d3f33258cee5 /src/video_core/vulkan_common | |
| parent | common: Reduce unused includes (diff) | |
| download | yuzu-1bc7d61b5749ed29108cbbbf0a78a41b79504eff.tar.gz yuzu-1bc7d61b5749ed29108cbbbf0a78a41b79504eff.tar.xz yuzu-1bc7d61b5749ed29108cbbbf0a78a41b79504eff.zip | |
video_core: Reduce unused includes
Diffstat (limited to 'src/video_core/vulkan_common')
8 files changed, 8 insertions, 15 deletions
diff --git a/src/video_core/vulkan_common/nsight_aftermath_tracker.h b/src/video_core/vulkan_common/nsight_aftermath_tracker.h index eae1891dd..55c115081 100644 --- a/src/video_core/vulkan_common/nsight_aftermath_tracker.h +++ b/src/video_core/vulkan_common/nsight_aftermath_tracker.h | |||
| @@ -4,20 +4,22 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <filesystem> | ||
| 8 | #include <mutex> | ||
| 9 | #include <span> | 7 | #include <span> |
| 10 | #include <string> | ||
| 11 | #include <vector> | ||
| 12 | 8 | ||
| 13 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 14 | #include "common/dynamic_library.h" | ||
| 15 | #include "video_core/vulkan_common/vulkan_wrapper.h" | ||
| 16 | 10 | ||
| 17 | #ifdef HAS_NSIGHT_AFTERMATH | 11 | #ifdef HAS_NSIGHT_AFTERMATH |
| 12 | #include <filesystem> | ||
| 13 | #include <mutex> | ||
| 14 | |||
| 15 | // Vulkan headers must be included before Aftermath | ||
| 16 | #include "video_core/vulkan_common/vulkan_wrapper.h" | ||
| 17 | |||
| 18 | #include <GFSDK_Aftermath_Defines.h> | 18 | #include <GFSDK_Aftermath_Defines.h> |
| 19 | #include <GFSDK_Aftermath_GpuCrashDump.h> | 19 | #include <GFSDK_Aftermath_GpuCrashDump.h> |
| 20 | #include <GFSDK_Aftermath_GpuCrashDumpDecoding.h> | 20 | #include <GFSDK_Aftermath_GpuCrashDumpDecoding.h> |
| 21 | |||
| 22 | #include "common/dynamic_library.h" | ||
| 21 | #endif | 23 | #endif |
| 22 | 24 | ||
| 23 | namespace Vulkan { | 25 | namespace Vulkan { |
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index effde73c9..32c10d675 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | #include <bitset> | 6 | #include <bitset> |
| 7 | #include <chrono> | 7 | #include <chrono> |
| 8 | #include <optional> | 8 | #include <optional> |
| 9 | #include <string_view> | ||
| 10 | #include <thread> | 9 | #include <thread> |
| 11 | #include <unordered_set> | 10 | #include <unordered_set> |
| 12 | #include <utility> | 11 | #include <utility> |
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 34b1add16..1c7c18bcf 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #include <span> | 7 | #include <span> |
| 8 | #include <string> | 8 | #include <string> |
| 9 | #include <string_view> | ||
| 10 | #include <unordered_map> | 9 | #include <unordered_map> |
| 11 | #include <vector> | 10 | #include <vector> |
| 12 | 11 | ||
diff --git a/src/video_core/vulkan_common/vulkan_instance.cpp b/src/video_core/vulkan_common/vulkan_instance.cpp index bfd6e6add..662694f16 100644 --- a/src/video_core/vulkan_common/vulkan_instance.cpp +++ b/src/video_core/vulkan_common/vulkan_instance.cpp | |||
| @@ -2,11 +2,9 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 6 | #include <future> | 5 | #include <future> |
| 7 | #include <optional> | 6 | #include <optional> |
| 8 | #include <span> | 7 | #include <span> |
| 9 | #include <utility> | ||
| 10 | #include <vector> | 8 | #include <vector> |
| 11 | 9 | ||
| 12 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
diff --git a/src/video_core/vulkan_common/vulkan_library.cpp b/src/video_core/vulkan_common/vulkan_library.cpp index 22833fa56..d69de05ef 100644 --- a/src/video_core/vulkan_common/vulkan_library.cpp +++ b/src/video_core/vulkan_common/vulkan_library.cpp | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstdlib> | ||
| 6 | #include <string> | 5 | #include <string> |
| 7 | 6 | ||
| 8 | #include "common/dynamic_library.h" | 7 | #include "common/dynamic_library.h" |
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.h index 86e8ed119..338daf5ba 100644 --- a/src/video_core/vulkan_common/vulkan_memory_allocator.h +++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #include <memory> | 7 | #include <memory> |
| 8 | #include <span> | 8 | #include <span> |
| 9 | #include <utility> | ||
| 10 | #include <vector> | 9 | #include <vector> |
| 11 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 12 | #include "video_core/vulkan_common/vulkan_wrapper.h" | 11 | #include "video_core/vulkan_common/vulkan_wrapper.h" |
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp index a9faa4807..a794f16dd 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.cpp +++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp | |||
| @@ -3,10 +3,8 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include <exception> | ||
| 7 | #include <memory> | 6 | #include <memory> |
| 8 | #include <optional> | 7 | #include <optional> |
| 9 | #include <string_view> | ||
| 10 | #include <utility> | 8 | #include <utility> |
| 11 | #include <vector> | 9 | #include <vector> |
| 12 | 10 | ||
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h index b7ae01c6c..53bac627f 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.h +++ b/src/video_core/vulkan_common/vulkan_wrapper.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <exception> | 7 | #include <exception> |
| 8 | #include <iterator> | ||
| 9 | #include <limits> | 8 | #include <limits> |
| 10 | #include <memory> | 9 | #include <memory> |
| 11 | #include <optional> | 10 | #include <optional> |