aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glasm/emit_glasm.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-26 18:32:59 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:33 -0400
commitadb591a757ccb289634920d51cf519b515ca32b6 (patch)
tree987c5cd0a346e69633791ad5ec355b6104ab036e /src/shader_recompiler/backend/glasm/emit_glasm.h
parentf58f79c85dad7ad018a015cc6913f2789540ec22 (diff)
glasm: Use storage buffers instead of global memory when possible
Diffstat (limited to 'src/shader_recompiler/backend/glasm/emit_glasm.h')
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.h b/src/shader_recompiler/backend/glasm/emit_glasm.h
index 3d02d873e7..3df32a4a6f 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm.h
+++ b/src/shader_recompiler/backend/glasm/emit_glasm.h
@@ -15,9 +15,10 @@ namespace Shader::Backend::GLASM {
[[nodiscard]] std::string EmitGLASM(const Profile& profile, const RuntimeInfo& runtime_info,
IR::Program& program, Bindings& bindings);
-[[nodiscard]] inline std::string EmitGLASM(const Profile& profile, IR::Program& program) {
+[[nodiscard]] inline std::string EmitGLASM(const Profile& profile, const RuntimeInfo& runtime_info,
+ IR::Program& program) {
Bindings binding;
- return EmitGLASM(profile, {}, program, binding);
+ return EmitGLASM(profile, runtime_info, program, binding);
}
} // namespace Shader::Backend::GLASM