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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/emit_context.cpp
index 7c9ed9159..97bd59302 100644
--- a/src/shader_recompiler/backend/glsl/emit_context.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_context.cpp
@@ -394,7 +394,7 @@ EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile
394 } 394 }
395 } 395 }
396 if (info.uses_rescaling_uniform) { 396 if (info.uses_rescaling_uniform) {
397 header += "layout(location=0) uniform float down_factor;"; 397 header += "layout(location=0) uniform vec4 scaling;";
398 } 398 }
399 DefineConstantBuffers(bindings); 399 DefineConstantBuffers(bindings);
400 DefineStorageBuffers(bindings); 400 DefineStorageBuffers(bindings);