summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl.h
diff options
context:
space:
mode:
authorGravatar ameerj2021-05-21 19:55:58 -0400
committerGravatar ameerj2021-07-22 21:51:35 -0400
commitfb75d122a242a5e43d36edc916e16a873f807acd (patch)
tree1f2c7e7d8f001072d118939725cb18669e26791f /src/shader_recompiler/backend/glsl/emit_glsl.h
parentglsl: Pass IR::Inst& to Emit functions (diff)
downloadyuzu-fb75d122a242a5e43d36edc916e16a873f807acd.tar.gz
yuzu-fb75d122a242a5e43d36edc916e16a873f807acd.tar.xz
yuzu-fb75d122a242a5e43d36edc916e16a873f807acd.zip
glsl: Use std::string_view for Emit function args.
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.h')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.h b/src/shader_recompiler/backend/glsl/emit_glsl.h
index a7c666107..fe221fa7c 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl.h
+++ b/src/shader_recompiler/backend/glsl/emit_glsl.h
@@ -12,12 +12,12 @@
12 12
13namespace Shader::Backend::GLSL { 13namespace Shader::Backend::GLSL {
14 14
15[[nodiscard]] std::string EmitGLSL(const Profile& profile, IR::Program& program, 15[[nodiscard]] std::string EmitGLSL(const Profile& profile, const RuntimeInfo& runtime_info,
16 Bindings& binding); 16 IR::Program& program, Bindings& bindings);
17 17
18[[nodiscard]] inline std::string EmitGLSL(const Profile& profile, IR::Program& program) { 18[[nodiscard]] inline std::string EmitGLSL(const Profile& profile, IR::Program& program) {
19 Bindings binding; 19 Bindings binding;
20 return EmitGLSL(profile, program, binding); 20 return EmitGLSL(profile, {}, program, binding);
21} 21}
22 22
23} // namespace Shader::Backend::GLSL 23} // namespace Shader::Backend::GLSL