summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glasm/emit_glasm.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-19 02:04:09 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:32 +0200
commit8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6 (patch)
treeede1d0e1d3c828b50f4af190f64adf73a30a62e7 /src/shader_recompiler/backend/glasm/emit_glasm.cpp
parentglasm: Implement textureGather instructions (diff)
downloadyuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.gz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.bz2
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.lz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.xz
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.tar.zst
yuzu-8b7d5912d61d56f65fb7e3a03bba544a4c40bfa6.zip
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.cpp')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
index a893fa3fb..edf6f5e13 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp
@@ -312,8 +312,8 @@ std::string_view StageHeader(Stage stage) {
}
} // Anonymous namespace
-std::string EmitGLASM(const Profile&, IR::Program& program, Bindings&) {
- EmitContext ctx{program};
+std::string EmitGLASM(const Profile&, IR::Program& program, Bindings& bindings) {
+ EmitContext ctx{program, bindings};
Precolor(ctx, program);
EmitCode(ctx, program);
std::string header{StageHeader(program.stage)};