aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-05-21 19:55:58 -0400
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:35 -0400
commitfb75d122a242a5e43d36edc916e16a873f807acd (patch)
tree1f2c7e7d8f001072d118939725cb18669e26791f /src/shader_recompiler/backend/glsl/emit_glsl.h
parent115c162b9afacbf36dd6c38ef06ccf71e10c336b (diff)
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 a7c6661078..fe221fa7c2 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl.h
+++ b/src/shader_recompiler/backend/glsl/emit_glsl.h
@@ -12,12 +12,12 @@
namespace Shader::Backend::GLSL {
-[[nodiscard]] std::string EmitGLSL(const Profile& profile, IR::Program& program,
- Bindings& binding);
+[[nodiscard]] std::string EmitGLSL(const Profile& profile, const RuntimeInfo& runtime_info,
+ IR::Program& program, Bindings& bindings);
[[nodiscard]] inline std::string EmitGLSL(const Profile& profile, IR::Program& program) {
Bindings binding;
- return EmitGLSL(profile, program, binding);
+ return EmitGLSL(profile, {}, program, binding);
}
} // namespace Shader::Backend::GLSL