summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_context.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_context.h5
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) {