diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-31 08:04:08 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:29 +0100 |
commit | cfeb161c7ebf93bf6ac39e430fc998dc13abfc66 (patch) | |
tree | e77411856862dbe91ef7edb475d19e64ff1db18b /src/shader_recompiler/backend/glsl/emit_context.cpp | |
parent | gl_rasterizer: Properly scale viewports and scissors (diff) | |
download | yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar.gz yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar.bz2 yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar.lz yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar.xz yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.tar.zst yuzu-cfeb161c7ebf93bf6ac39e430fc998dc13abfc66.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.cpp | 2 |
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 } } if (info.uses_rescaling_uniform) { - header += "layout(location=0) uniform float down_factor;"; + header += "layout(location=0) uniform vec4 scaling;"; } DefineConstantBuffers(bindings); DefineStorageBuffers(bindings); |