aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_context.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-08 16:28:52 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:30 -0400
commit6fd190d1ae4275a06ed2e488401e1d63912954be (patch)
treeece4681d18c7b0b5bcb6b540ea4a21b32c19b363 /src/shader_recompiler/backend/glasm/emit_context.h
parentc1ba685d9c9b9ca9e8c479c52097adf943e804eb (diff)
glasm: Implement basic GLASM instructions
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_context.h')
-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 cf66619de1..4f98a98160 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) {