diff options
| author | 2018-12-21 03:18:54 -0300 | |
|---|---|---|
| committer | 2019-01-15 17:54:52 -0300 | |
| commit | 59b34b1d76371bc1bf70ca263a1ac63293a8409e (patch) | |
| tree | aa1c1bdaf6e784f21978a260fabe826081fcbbb3 /src | |
| parent | shader_ir: Move comment node string (diff) | |
| download | yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.gz yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.tar.xz yuzu-59b34b1d76371bc1bf70ca263a1ac63293a8409e.zip | |
shader_ir: Fixup file inclusions and clang-format
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/decode.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/shader/decode/other.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/shader/shader_ir.h | 1 |
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 @@ | |||
| 7 | 7 | ||
| 8 | #include <fmt/format.h> | 8 | #include <fmt/format.h> |
| 9 | 9 | ||
| 10 | #include "common/assert.h" | ||
| 10 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 11 | #include "video_core/engines/shader_bytecode.h" | 12 | #include "video_core/engines/shader_bytecode.h" |
| 12 | #include "video_core/engines/shader_header.h" | 13 | #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 @@ | |||
| 9 | 9 | ||
| 10 | namespace VideoCommon::Shader { | 10 | namespace VideoCommon::Shader { |
| 11 | 11 | ||
| 12 | using Tegra::Shader::ConditionCode; | ||
| 12 | using Tegra::Shader::Instruction; | 13 | using Tegra::Shader::Instruction; |
| 13 | using Tegra::Shader::OpCode; | 14 | using Tegra::Shader::OpCode; |
| 14 | using Tegra::Shader::ConditionCode; | ||
| 15 | 15 | ||
| 16 | u32 ShaderIR::DecodeOther(BasicBlock& bb, u32 pc) { | 16 | u32 ShaderIR::DecodeOther(BasicBlock& bb, u32 pc) { |
| 17 | const Instruction instr = {program_code[pc]}; | 17 | 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 @@ | |||
| 12 | #include <variant> | 12 | #include <variant> |
| 13 | #include <vector> | 13 | #include <vector> |
| 14 | 14 | ||
| 15 | #include "common/assert.h" | ||
| 16 | #include "common/common_types.h" | 15 | #include "common/common_types.h" |
| 17 | #include "video_core/engines/maxwell_3d.h" | 16 | #include "video_core/engines/maxwell_3d.h" |
| 18 | #include "video_core/engines/shader_bytecode.h" | 17 | #include "video_core/engines/shader_bytecode.h" |