diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-08 21:28:52 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:30 +0200 |
commit | 6fd190d1ae4275a06ed2e488401e1d63912954be (patch) | |
tree | ece4681d18c7b0b5bcb6b540ea4a21b32c19b363 /src/shader_recompiler/backend/glasm/emit_context.h | |
parent | glasm: Changes to GLASM register allocator and emit context (diff) | |
download | yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar.gz yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar.bz2 yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar.lz yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar.xz yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.tar.zst yuzu-6fd190d1ae4275a06ed2e488401e1d63912954be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_context.h b/src/shader_recompiler/backend/glasm/emit_context.h index cf66619de..4f98a9816 100644 --- a/src/shader_recompiler/backend/glasm/emit_context.h +++ b/src/shader_recompiler/backend/glasm/emit_context.h @@ -13,13 +13,14 @@ namespace Shader::IR { class Inst; -} +struct Program; +} // namespace Shader::IR namespace Shader::Backend::GLASM { class EmitContext { public: - explicit EmitContext(); + explicit EmitContext(IR::Program& program); template <typename... Args> void Add(const char* fmt, IR::Inst& inst, Args&&... args) { |