diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.h')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h index 2b59c0b72..de624a151 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv.h | |||
| @@ -11,10 +11,12 @@ | |||
| 11 | #include "shader_recompiler/environment.h" | 11 | #include "shader_recompiler/environment.h" |
| 12 | #include "shader_recompiler/frontend/ir/microinstruction.h" | 12 | #include "shader_recompiler/frontend/ir/microinstruction.h" |
| 13 | #include "shader_recompiler/frontend/ir/program.h" | 13 | #include "shader_recompiler/frontend/ir/program.h" |
| 14 | #include "shader_recompiler/profile.h" | ||
| 14 | 15 | ||
| 15 | namespace Shader::Backend::SPIRV { | 16 | namespace Shader::Backend::SPIRV { |
| 16 | 17 | ||
| 17 | [[nodiscard]] std::vector<u32> EmitSPIRV(Environment& env, IR::Program& program); | 18 | [[nodiscard]] std::vector<u32> EmitSPIRV(const Profile& profile, Environment& env, |
| 19 | IR::Program& program); | ||
| 18 | 20 | ||
| 19 | // Microinstruction emitters | 21 | // Microinstruction emitters |
| 20 | Id EmitPhi(EmitContext& ctx, IR::Inst* inst); | 22 | Id EmitPhi(EmitContext& ctx, IR::Inst* inst); |