summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-12-21 07:18:54 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-15 21:54:52 +0100
commit59b34b1d76371bc1bf70ca263a1ac63293a8409e (patch)
treeaa1c1bdaf6e784f21978a260fabe826081fcbbb3 /src/video_core/shader
parentshader_ir: Move comment node string (diff)
downloadyuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.gz
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.bz2
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.lz
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.xz
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.zst
yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode.cpp1
-rw-r--r--src/video_core/shader/decode/other.cpp2
-rw-r--r--src/video_core/shader/shader_ir.h1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp
index c973328ab..a07656c7c 100644
--- a/src/video_core/shader/decode.cpp
+++ b/src/video_core/shader/decode.cpp
@@ -7,6 +7,7 @@
#include <fmt/format.h>
+#include "common/assert.h"
#include "common/common_types.h"
#include "video_core/engines/shader_bytecode.h"
#include "video_core/engines/shader_header.h"
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index 9200b5da9..9630ef831 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -9,9 +9,9 @@
namespace VideoCommon::Shader {
+using Tegra::Shader::ConditionCode;
using Tegra::Shader::Instruction;
using Tegra::Shader::OpCode;
-using Tegra::Shader::ConditionCode;
u32 ShaderIR::DecodeOther(BasicBlock& bb, u32 pc) {
const Instruction instr = {program_code[pc]};
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h
index 8a1985526..fc41b7de3 100644
--- a/src/video_core/shader/shader_ir.h
+++ b/src/video_core/shader/shader_ir.h
@@ -12,7 +12,6 @@
#include <variant>
#include <vector>
-#include "common/assert.h"
#include "common/common_types.h"
#include "video_core/engines/maxwell_3d.h"
#include "video_core/engines/shader_bytecode.h"