Sfoglia il codice sorgente

shader_ir: Fixup file inclusions and clang-format

ReinUsesLisp 7 anni fa
parent
commit
59b34b1d76

+ 1 - 0
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"

+ 1 - 1
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]};

+ 0 - 1
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"