summaryrefslogtreecommitdiff
path: root/src/core/hw
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot2016-09-21 00:21:23 +0900
committerGravatar Emmanuel Gil Peyrot2016-09-21 11:15:47 +0900
commitebdae19fd226104baec712b9da9939ff82ef3c3a (patch)
treee046c0f562fc4400480b2e3257f140e973a9ce6a /src/core/hw
parentManually tweak source formatting and then re-run clang-format (diff)
downloadyuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.gz
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.xz
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.zip
Remove empty newlines in #include blocks.
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
Diffstat (limited to 'src/core/hw')
-rw-r--r--src/core/hw/gpu.cpp15
-rw-r--r--src/core/hw/gpu.h1
-rw-r--r--src/core/hw/hw.cpp3
-rw-r--r--src/core/hw/lcd.cpp5
-rw-r--r--src/core/hw/lcd.h1
-rw-r--r--src/core/hw/y2r.cpp4
6 files changed, 7 insertions, 22 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index bf2c066f4..776c8fef7 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -2,36 +2,29 @@
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 "core/hw/gpu.h"
5#include <cstring> 6#include <cstring>
6#include <numeric> 7#include <numeric>
7#include <type_traits> 8#include <type_traits>
8
9#include "common/color.h" 9#include "common/color.h"
10#include "common/common_types.h" 10#include "common/common_types.h"
11#include "common/logging/log.h" 11#include "common/logging/log.h"
12#include "common/microprofile.h" 12#include "common/microprofile.h"
13#include "common/vector_math.h" 13#include "common/vector_math.h"
14
15#include "core/core_timing.h" 14#include "core/core_timing.h"
16#include "core/memory.h"
17#include "core/settings.h"
18
19#include "core/hle/service/gsp_gpu.h" 15#include "core/hle/service/gsp_gpu.h"
20#include "core/hle/service/hid/hid.h" 16#include "core/hle/service/hid/hid.h"
21
22#include "core/hw/gpu.h"
23#include "core/hw/hw.h" 17#include "core/hw/hw.h"
24 18#include "core/memory.h"
19#include "core/settings.h"
25#include "core/tracer/recorder.h" 20#include "core/tracer/recorder.h"
26
27#include "video_core/command_processor.h" 21#include "video_core/command_processor.h"
22#include "video_core/debug_utils/debug_utils.h"
28#include "video_core/rasterizer_interface.h" 23#include "video_core/rasterizer_interface.h"
29#include "video_core/renderer_base.h" 24#include "video_core/renderer_base.h"
30#include "video_core/utils.h" 25#include "video_core/utils.h"
31#include "video_core/video_core.h" 26#include "video_core/video_core.h"
32 27
33#include "video_core/debug_utils/debug_utils.h"
34
35namespace GPU { 28namespace GPU {
36 29
37Regs g_regs; 30Regs g_regs;
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index 077b6255f..32ddc5697 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -6,7 +6,6 @@
6 6
7#include <cstddef> 7#include <cstddef>
8#include <type_traits> 8#include <type_traits>
9
10#include "common/assert.h" 9#include "common/assert.h"
11#include "common/bit_field.h" 10#include "common/bit_field.h"
12#include "common/common_funcs.h" 11#include "common/common_funcs.h"
diff --git a/src/core/hw/hw.cpp b/src/core/hw/hw.cpp
index 71f44cbc4..0f84d5adb 100644
--- a/src/core/hw/hw.cpp
+++ b/src/core/hw/hw.cpp
@@ -2,11 +2,10 @@
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 "core/hw/hw.h"
5#include "common/common_types.h" 6#include "common/common_types.h"
6#include "common/logging/log.h" 7#include "common/logging/log.h"
7
8#include "core/hw/gpu.h" 8#include "core/hw/gpu.h"
9#include "core/hw/hw.h"
10#include "core/hw/lcd.h" 9#include "core/hw/lcd.h"
11 10
12namespace HW { 11namespace HW {
diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp
index 0e3aa7cfd..5231e4cc5 100644
--- a/src/core/hw/lcd.cpp
+++ b/src/core/hw/lcd.cpp
@@ -2,14 +2,11 @@
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 "core/hw/lcd.h"
5#include <cstring> 6#include <cstring>
6
7#include "common/common_types.h" 7#include "common/common_types.h"
8#include "common/logging/log.h" 8#include "common/logging/log.h"
9
10#include "core/hw/hw.h" 9#include "core/hw/hw.h"
11#include "core/hw/lcd.h"
12
13#include "core/tracer/recorder.h" 10#include "core/tracer/recorder.h"
14#include "video_core/debug_utils/debug_utils.h" 11#include "video_core/debug_utils/debug_utils.h"
15 12
diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h
index 404833165..191fd44af 100644
--- a/src/core/hw/lcd.h
+++ b/src/core/hw/lcd.h
@@ -6,7 +6,6 @@
6 6
7#include <cstddef> 7#include <cstddef>
8#include <type_traits> 8#include <type_traits>
9
10#include "common/bit_field.h" 9#include "common/bit_field.h"
11#include "common/common_funcs.h" 10#include "common/common_funcs.h"
12#include "common/common_types.h" 11#include "common/common_types.h"
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp
index 838b14163..0e13420d7 100644
--- a/src/core/hw/y2r.cpp
+++ b/src/core/hw/y2r.cpp
@@ -2,19 +2,17 @@
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 "core/hw/y2r.h"
5#include <algorithm> 6#include <algorithm>
6#include <array> 7#include <array>
7#include <cstddef> 8#include <cstddef>
8#include <memory> 9#include <memory>
9
10#include "common/assert.h" 10#include "common/assert.h"
11#include "common/color.h" 11#include "common/color.h"
12#include "common/common_types.h" 12#include "common/common_types.h"
13#include "common/math_util.h" 13#include "common/math_util.h"
14#include "common/vector_math.h" 14#include "common/vector_math.h"
15
16#include "core/hle/service/y2r_u.h" 15#include "core/hle/service/y2r_u.h"
17#include "core/hw/y2r.h"
18#include "core/memory.h" 16#include "core/memory.h"
19 17
20namespace HW { 18namespace HW {