diff options
Diffstat (limited to 'src/shader_recompiler/backend')
8 files changed, 7 insertions, 4 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_context.cpp b/src/shader_recompiler/backend/glasm/emit_context.cpp index 08918a5c2..21e14867c 100644 --- a/src/shader_recompiler/backend/glasm/emit_context.cpp +++ b/src/shader_recompiler/backend/glasm/emit_context.cpp | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include "shader_recompiler/backend/glasm/emit_context.h" | 8 | #include "shader_recompiler/backend/glasm/emit_context.h" |
| 9 | #include "shader_recompiler/frontend/ir/program.h" | 9 | #include "shader_recompiler/frontend/ir/program.h" |
| 10 | #include "shader_recompiler/profile.h" | 10 | #include "shader_recompiler/profile.h" |
| 11 | #include "shader_recompiler/runtime_info.h" | ||
| 11 | 12 | ||
| 12 | namespace Shader::Backend::GLASM { | 13 | namespace Shader::Backend::GLASM { |
| 13 | namespace { | 14 | namespace { |
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp index 832b4fd40..66e4aea04 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include "shader_recompiler/frontend/ir/ir_emitter.h" | 13 | #include "shader_recompiler/frontend/ir/ir_emitter.h" |
| 14 | #include "shader_recompiler/frontend/ir/program.h" | 14 | #include "shader_recompiler/frontend/ir/program.h" |
| 15 | #include "shader_recompiler/profile.h" | 15 | #include "shader_recompiler/profile.h" |
| 16 | #include "shader_recompiler/runtime_info.h" | ||
| 16 | 17 | ||
| 17 | namespace Shader::Backend::GLASM { | 18 | namespace Shader::Backend::GLASM { |
| 18 | namespace { | 19 | namespace { |
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.h b/src/shader_recompiler/backend/glasm/emit_glasm.h index 3df32a4a6..bcb55f062 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.h +++ b/src/shader_recompiler/backend/glasm/emit_glasm.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include "shader_recompiler/backend/bindings.h" | 9 | #include "shader_recompiler/backend/bindings.h" |
| 10 | #include "shader_recompiler/frontend/ir/program.h" | 10 | #include "shader_recompiler/frontend/ir/program.h" |
| 11 | #include "shader_recompiler/profile.h" | 11 | #include "shader_recompiler/profile.h" |
| 12 | #include "shader_recompiler/runtime_info.h" | ||
| 12 | 13 | ||
| 13 | namespace Shader::Backend::GLASM { | 14 | namespace Shader::Backend::GLASM { |
| 14 | 15 | ||
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp index cafb5c92a..af9fac7c1 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | #include "shader_recompiler/backend/glasm/emit_glasm_instructions.h" | 8 | #include "shader_recompiler/backend/glasm/emit_glasm_instructions.h" |
| 9 | #include "shader_recompiler/frontend/ir/program.h" | 9 | #include "shader_recompiler/frontend/ir/program.h" |
| 10 | #include "shader_recompiler/frontend/ir/value.h" | 10 | #include "shader_recompiler/frontend/ir/value.h" |
| 11 | #include "shader_recompiler/profile.h" | 11 | #include "shader_recompiler/runtime_info.h" |
| 12 | 12 | ||
| 13 | namespace Shader::Backend::GLASM { | 13 | namespace Shader::Backend::GLASM { |
| 14 | namespace { | 14 | namespace { |
diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/emit_context.cpp index 54aa88b63..93057ebb9 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.cpp +++ b/src/shader_recompiler/backend/glsl/emit_context.cpp | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include "shader_recompiler/backend/glsl/emit_context.h" | 6 | #include "shader_recompiler/backend/glsl/emit_context.h" |
| 7 | #include "shader_recompiler/frontend/ir/program.h" | 7 | #include "shader_recompiler/frontend/ir/program.h" |
| 8 | #include "shader_recompiler/profile.h" | 8 | #include "shader_recompiler/profile.h" |
| 9 | #include "shader_recompiler/runtime_info.h" | ||
| 9 | 10 | ||
| 10 | namespace Shader::Backend::GLSL { | 11 | namespace Shader::Backend::GLSL { |
| 11 | namespace { | 12 | namespace { |
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.h b/src/shader_recompiler/backend/glsl/emit_glsl.h index fe221fa7c..20e5719e6 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.h +++ b/src/shader_recompiler/backend/glsl/emit_glsl.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include "shader_recompiler/backend/bindings.h" | 9 | #include "shader_recompiler/backend/bindings.h" |
| 10 | #include "shader_recompiler/frontend/ir/program.h" | 10 | #include "shader_recompiler/frontend/ir/program.h" |
| 11 | #include "shader_recompiler/profile.h" | 11 | #include "shader_recompiler/profile.h" |
| 12 | #include "shader_recompiler/runtime_info.h" | ||
| 12 | 13 | ||
| 13 | namespace Shader::Backend::GLSL { | 14 | namespace Shader::Backend::GLSL { |
| 14 | 15 | ||
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h index 9e812dabb..df28036e4 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h +++ b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h | |||
| @@ -18,9 +18,6 @@ class Value; | |||
| 18 | namespace Shader::Backend::GLSL { | 18 | namespace Shader::Backend::GLSL { |
| 19 | class EmitContext; | 19 | class EmitContext; |
| 20 | 20 | ||
| 21 | inline void EmitSetLoopSafetyVariable(EmitContext&) {} | ||
| 22 | inline void EmitGetLoopSafetyVariable(EmitContext&) {} | ||
| 23 | |||
| 24 | #define NotImplemented() throw NotImplementedException("GLSL instruction {}", __func__) | 21 | #define NotImplemented() throw NotImplementedException("GLSL instruction {}", __func__) |
| 25 | 22 | ||
| 26 | // Microinstruction emitters | 23 | // Microinstruction emitters |
diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/emit_context.h index 961c9180c..527685fb8 100644 --- a/src/shader_recompiler/backend/spirv/emit_context.h +++ b/src/shader_recompiler/backend/spirv/emit_context.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include "shader_recompiler/backend/bindings.h" | 12 | #include "shader_recompiler/backend/bindings.h" |
| 13 | #include "shader_recompiler/frontend/ir/program.h" | 13 | #include "shader_recompiler/frontend/ir/program.h" |
| 14 | #include "shader_recompiler/profile.h" | 14 | #include "shader_recompiler/profile.h" |
| 15 | #include "shader_recompiler/runtime_info.h" | ||
| 15 | #include "shader_recompiler/shader_info.h" | 16 | #include "shader_recompiler/shader_info.h" |
| 16 | 17 | ||
| 17 | namespace Shader::Backend::SPIRV { | 18 | namespace Shader::Backend::SPIRV { |