diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-11-10 06:41:33 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-11-10 07:10:50 +0100 |
commit | 8d4bb10d443060dc56d6c6ddd9b84bbea00874d3 (patch) | |
tree | e171445255a669bf311468f0c005fe2045802627 /src/video_core/renderer_opengl/gl_shader_gen.cpp | |
parent | gl_resource_manager: Amend clang-format discrepancies (diff) | |
download | yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar.gz yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar.bz2 yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar.lz yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar.xz yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.tar.zst yuzu-8d4bb10d443060dc56d6c6ddd9b84bbea00874d3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 9d17edd63..eea090e52 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -82,8 +82,8 @@ void main() { } ProgramResult GenerateGeometryShader(const ShaderSetup& setup) { - std::string out = "#version 430 core\n"; - out += "#extension GL_ARB_separate_shader_objects : enable\n\n"; + // Version is intentionally skipped in shader generation, it's added by the lazy compilation. + std::string out = "#extension GL_ARB_separate_shader_objects : enable\n\n"; out += Decompiler::GetCommonDeclarations(); out += "bool exec_geometry();\n"; |