summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-20 17:21:23 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-21 04:15:47 +0200
commitebdae19fd226104baec712b9da9939ff82ef3c3a (patch)
treee046c0f562fc4400480b2e3257f140e973a9ce6a /src/video_core/shader
parentManually tweak source formatting and then re-run clang-format (diff)
downloadyuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.gz
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.bz2
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.lz
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.xz
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.tar.zst
yuzu-ebdae19fd226104baec712b9da9939ff82ef3c3a.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/shader.cpp7
-rw-r--r--src/video_core/shader/shader.h4
-rw-r--r--src/video_core/shader/shader_interpreter.cpp5
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp6
-rw-r--r--src/video_core/shader/shader_jit_x64.h3
5 files changed, 3 insertions, 22 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index c38bdcc3c..53e91df03 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.cpp
@@ -2,28 +2,23 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include "video_core/shader/shader.h"
#include <atomic>
#include <cmath>
#include <cstring>
#include <unordered_map>
#include <utility>
-
#include <boost/range/algorithm/fill.hpp>
-
#include "common/bit_field.h"
#include "common/hash.h"
#include "common/logging/log.h"
#include "common/microprofile.h"
-
#include "video_core/pica.h"
#include "video_core/pica_state.h"
-#include "video_core/shader/shader.h"
#include "video_core/shader/shader_interpreter.h"
-
#ifdef ARCHITECTURE_x86_64
#include "video_core/shader/shader_jit_x64.h"
#endif // ARCHITECTURE_x86_64
-
#include "video_core/video_core.h"
namespace Pica {
diff --git a/src/video_core/shader/shader.h b/src/video_core/shader/shader.h
index 79c716b6e..8858d67f8 100644
--- a/src/video_core/shader/shader.h
+++ b/src/video_core/shader/shader.h
@@ -9,16 +9,12 @@
#include <memory>
#include <type_traits>
#include <vector>
-
#include <boost/container/static_vector.hpp>
-
#include <nihstro/shader_bytecode.h>
-
#include "common/assert.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/vector_math.h"
-
#include "video_core/pica.h"
#include "video_core/pica_types.h"
diff --git a/src/video_core/shader/shader_interpreter.cpp b/src/video_core/shader/shader_interpreter.cpp
index 41df8a2fd..5df3c4e86 100644
--- a/src/video_core/shader/shader_interpreter.cpp
+++ b/src/video_core/shader/shader_interpreter.cpp
@@ -2,21 +2,18 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include "video_core/shader/shader.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <numeric>
-
#include <nihstro/shader_bytecode.h>
-
#include "common/assert.h"
#include "common/common_types.h"
#include "common/logging/log.h"
#include "common/vector_math.h"
-
#include "video_core/pica_state.h"
#include "video_core/pica_types.h"
-#include "video_core/shader/shader.h"
#include "video_core/shader/shader_interpreter.h"
using nihstro::OpCode;
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index d1b2ce8d5..5f1323799 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -2,23 +2,19 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include "shader.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <xmmintrin.h>
-
#include <nihstro/shader_bytecode.h>
-
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/vector_math.h"
#include "common/x64/abi.h"
#include "common/x64/cpu_detect.h"
#include "common/x64/emitter.h"
-
-#include "shader.h"
#include "shader_jit_x64.h"
-
#include "video_core/pica_state.h"
#include "video_core/pica_types.h"
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h
index 2f37ef8bf..98de5ecef 100644
--- a/src/video_core/shader/shader_jit_x64.h
+++ b/src/video_core/shader/shader_jit_x64.h
@@ -8,13 +8,10 @@
#include <cstddef>
#include <utility>
#include <vector>
-
#include <nihstro/shader_bytecode.h>
-
#include "common/bit_set.h"
#include "common/common_types.h"
#include "common/x64/emitter.h"
-
#include "video_core/shader/shader.h"
using nihstro::Instruction;