summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_context.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/emit_context.cpp
index 2bf0def82..0ddc0443b 100644
--- a/src/shader_recompiler/backend/glsl/emit_context.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_context.cpp
@@ -22,9 +22,10 @@ std::string_view InterpDecorator(Interpolation interp) {
22} 22}
23} // namespace 23} // namespace
24 24
25EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile& profile_) 25EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile& profile_,
26 : info{program.info}, profile{profile_} { 26 const RuntimeInfo& runtime_info_)
27 std::string header = "#version 450\n"; 27 : info{program.info}, profile{profile_}, runtime_info{runtime_info_} {
28 std::string header = "";
28 SetupExtensions(header); 29 SetupExtensions(header);
29 stage = program.stage; 30 stage = program.stage;
30 switch (program.stage) { 31 switch (program.stage) {