diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-06-13 06:05:19 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:38 +0200 |
commit | 5e7b2b9661bf685c3950d7c4065d0d35b488f95c (patch) | |
tree | 957dc64090b0e376604322e7d801fff4fa46abf5 /src/shader_recompiler/backend/glsl/emit_glsl.cpp | |
parent | glsl: Implement legacy varyings (diff) | |
download | yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar.gz yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar.bz2 yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar.lz yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar.xz yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.tar.zst yuzu-5e7b2b9661bf685c3950d7c4065d0d35b488f95c.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cpp index d76b63b2d..6d64913bb 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp @@ -215,7 +215,7 @@ std::string EmitGLSL(const Profile& profile, const RuntimeInfo& runtime_info, IR ctx.header += fmt::format("shared uint smem[{}];", Common::AlignUp(program.shared_memory_size, 4)); } - ctx.header += "\nvoid main(){\n"; + ctx.header += "void main(){\n"; if (program.stage == Stage::VertexA || program.stage == Stage::VertexB) { ctx.header += "gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);"; // TODO: Properly resolve attribute issues |